基于POM版本自动安装.install4j文件中的版本 [英] Automate version in .install4j file based on POM version

查看:105
本文介绍了基于POM版本自动安装.install4j文件中的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Maven自动执行Install4j的构建过程.

I am using Maven to automate build process of Install4j.

对于每个发行产品,POM版本都会更新.我想在更新pom版本时更新Install4j版本(在常规设置"->"ApplicationInfo"->版本"下).

For every release product, POM version is updated. I want when pom version is updated Install4j version should be updated (under General Setting-> ApplicationInfo->Version).

如何在install4j文件中自动执行版本.因此该版本对于我的产品安装程序而言应始终保持最新.

How can i automate version in install4j file. So that version should always remain latest for my product installer.

推荐答案

您可以设置install4j编译目标的release参数,以通过maven插件设置版本.见

You can set the release parameter for the install4j compile target to set the version from the maven plugin. See

http://sonatype.github.io/install4j-support/install4j-maven-plugin/compile-mojo.html

了解更多信息.

这篇关于基于POM版本自动安装.install4j文件中的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆