The build qualifier for the Eclipse plugins is generated automatically by Tycho. Because of this, standard Maven versioning does not apply. This is a guide detailing the steps required to create a release of the SwitchYard Eclipse tooling.
Updating the Build Qualifier
There are a few steps required to update the build qualifier:
- pom.xml files must be updated as follows:
- tools/pom.xml
- Update the project version from -SNAPSHOT to .Final, .CR1, etc. For example, 0.4.0.Final
- tools/eclipse/pom.xml
- Update the parent version to match the version of ../pom.xml (e.g. 0.4.0.Final).
- Update the version.switchyard.runtime property to match the runtime version (e.g. 0.4.0.Final).
- tools/pom.xml
- Kick off a manual build in Hudson, setting the BUILD_ALIAS property appropriately (e.g. Final).
- Ensure the resulting build is marked as persistent, so it won't be automatically deleted.
Updating the Project Version
- pom.xml files must be updated as follows: (Note, all projects under tools/eclipse must be SNAPSHOT versions.)
- tools/pom.xml
- Update the project version (e.g. 0.5.0-SNAPSHOT)
- tools/eclipse/pom.xml
- Update the parent version to match the version of ../pom.xml (e.g. 0.5.0-SNAPSHOT).
- Update project version (e.g. 0.5.0-SNAPSHOT)
- Update the version.switchyard.runtime property to match the runtime version (e.g. 0.4.0.Final).
- Update the parent version for all pom.xml files under tools/eclipse (e.g. tools/eclipse/plugins/pom.xml)
- tools/pom.xml
- Update all Eclipse manifest files (i.e. MANIFEST.MF, feature.xml, site.xml, etc.) to the new version (e.g. 0.5.0.qualifier).
- Update versions for all internal (i.e. SwitchYard plugin) bundle dependencies (e.g. from 0.4.0 to 0.5.0).
Comments