我刚开始使用jgitflow-maven-plugin。我的项目有许多相互依赖的不同模块。在我的develop分支上,所有子模块的版本都是1.0.0-SNAPSHOT。
由于快照依赖关系,执行release-start目标失败。我发现我可以使用allowSnapshots=true选项来解决这个问题,但是我不确定这是否是正确的处理方法。
使用jgitflow和子模块的正确方式是什么?
发布于 2015-12-23 05:24:57
是
<configuration>
<!-- Keep your maven submodules at the same version as the parent POM -->
<autoVersionSubmodules>true</autoVersionSubmodules>
...
</configuration>来自http://george-stathis.com/2013/11/09/painless-maven-project-releases-with-maven-gitflow-plugin/
发布于 2016-10-07 04:15:27
到目前为止,需要allowSnapshots=true来构建一个带有复制父(快照)版本的子模块的项目。你的用法是正确的。
https://stackoverflow.com/questions/33762536
复制相似问题