Search code examples
mavenmaven-3maven-pluginmaven-assembly-plugin

How to change the template text in maven pom.properties file?


the starter text in pom.properties of any WAR produced by maven starts with like

#Generated by Maven

#Thu May 12 10:01:48 CST 2016 

how can i remove these two lines in the file?


Solution

  • Developer here. The first comment is written by us, Maven Archiver, to identify that this file is autogenerated and not handcrafted. The second line is added by Sun's Properties#store() implementation. Have a look at https://issues.apache.org/jira/browse/MSHARED-494.