When a new version of the project is released, the plug-in and feature numbers need to be updated. This can be done manually, or by modifying the pom.xml
file and MANIFEST.MF
version numbers, or by running a tool to do this.
From the parent directory, run the following (all on one line):
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=1.2.3-SNAPSHOT
The output should say
SUCCESS
for the parent andSKIPPED
for the others:[INFO] Reactor Summary: [INFO] [INFO] com.packtpub.e4.parent .................. SUCCESS [5.569s] [INFO] com.packtpub.e4.clock.ui ................ SKIPPED [INFO] com.packtpub.e4.junit.plugin ............ SKIPPED [INFO] com.packtpub.e4.feature ................. SKIPPED [INFO] com.packtpub.e4.update .................. SKIPPED
Now, run a build to verify that the versions were updated correctly:
[INFO] Building com.packtpub.e4.parent 1.2.3-SNAPSHOT [INFO] Building com.packtpub.e4.clock.ui 1.2.3-SNAPSHOT [INFO] Building...