如何更改 Maven pom.properties 文件中的模板文本?

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

maven 生成的任何 WAR 的 pom.properties 中的起始文本以 like

开头
#Generated by Maven

#Thu May 12 10:01:48 CST 2016 

如何删除文件中的这两行?

这里是开发者。第一条评论是由我们 Maven Archiver 编写的,用于确定该文件是自动生成的而不是手工制作的。第二行由 Sun 的 Properties#store() 实现添加。看看 https://issues.apache.org/jira/browse/MSHARED-494.