When a new version of the project is released, the plug-in and feature numbers need to be updated. This can be done manually, by modifying the pom.xml
and MANIFEST.MF
version numbers, or by running the tycho-versions-plugin:set-version
tool.
From the parent directory, run (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 and SKIPPED 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...