...
Code Block |
---|
git flow release start X.X.X.X
git flow release publish X.X.X.X |
Now you should be on release/X.X.X.X
branch (git status
supposed to confirm that). You must push changes to remote repo as the Release plugins will push changes to remote as well (it's already done after publishing release).
Prepare release
Tag the release by using the "release:prepare" goal of Maven:
...
Code Block |
---|
mvn release:perform -DretryFailedDeploymentCount=10
|
Follow the link to get more information about performed operation by release plugin. After this step the artifacts will be hosted by Nexus. The -DretryFailedDeploymentCount=10
is needed when there are problems with network connection (used just in case).
If you need to run perform again, (or in a different box), do:
...