我正在使用Maven来自动化Install4j的构建过程。
对于每个发布产品,都会更新POM版本。我希望当pom版本更新时,应更新Install4j版本(在General Setting-> ApplicationInfo-> Version下)。
如何在install4j文件中自动化版本。因此,对于我的产品安装程序,该版本应始终保持最新状态。
答案 0 :(得分:1)
您可以为install4j编译目标设置release参数,以便从maven插件中设置版本。参见
http://sonatype.github.io/install4j-support/install4j-maven-plugin/compile-mojo.html
了解更多信息。