...
- If this is a new major release (i.e., Y = 0 and Z = 0)
- Create a new branch (branch-X) for all releases in this major release.
Update the version on trunk to (X+1).0.0-SNAPSHOT
mvn versions:set -DnewVersion=(X+1).0.0-SNAPSHOT
Commit the version change to trunk.
git commit -a -m "Preparing for (X+1).0.0 development"
- If this is a new minor release (i.e., Z = 0)
- Create a new branch (branch-X.Y) for all releases in this minor release.
Update the version on branch-X to X.(Y+1).0-SNAPSHOT
mvn versions:set -DnewVersion=X.(Y+1).0-SNAPSHOT
Commit the version change to branch-X.
git commit -a -m "Preparing for X.(Y+1).0 development"
- If this is a new point release (i.e., always)
- Create a new branch (branch-X.Y.Z) for this release.
Update the version on branch-X.Y to X.Y.(Z+1)-SNAPSHOT
mvn versions:set -DnewVersion=X.Y.(Z+1)-SNAPSHOT
Commit the version change to branch-X.Y.
git commit -a -m "Preparing for X.Y.(Z+1) development"
- Release branch (branch-X.Y.Z) updates:
Update
hadoop-project/src/site/markdown/index.md.vm
to reflect the right versions, new features and big improvements.Update the version on branch-X.Y.Z TO X.Y.Z
mvn versions:set -DnewVersion=X.Y.Z
...