开发者

Release a lightweight maven POM

I have a multi-module project that I'd like to consolidate when I release. Mor开发者_如何转开发e specifically, I'd like to have my release POM be a separate lighter version of the POM I use for builds.

Is it possible to have or create a separate POM for releases?


There's nothing preventing you from putting two poms in a project. If you were to add a second one called pom-release.xml, then you could invoke that pom using

mvn -f pom-release.xml <phases and goals>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜