The WSO2 Release Helper plug-in was introduced to help the Apache Maven Release plug-in to prepare releases of WSO2 specific Maven projects (ESB and Registry). These projects contain artifact.xml
files consisting of meta-data (including versions) of the project artifacts, which need to be updated with both release version (tag) and the next development version (trunk) during the release preparation. The WSO2 Release Helper plug-in addresses this requirement.
...
Info |
---|
Since the Maven Release plug-in only commits changed prepare-release commit message: prepare-snapshot commit message: |
A sample configuration for the Maven Release plug-in with the WSO2 Release Helper plug-in is shown below:
Code Block | ||
---|---|---|
| ||
<plugin> <artifactId>maven-release-plugin</artifactId> <version>2.5</version> <configuration> <preparationGoals> org.wso2.maven:wso2-release-helper-plugin:1.0.0-SNAPSHOT:prepare-release </preparationGoals> <completionGoals> org.wso2.maven:wso2-release-helper-plugin:1.0.0-SNAPSHOT:prepare-snapshots </completionGoals> </configuration> </plugin> |
...
org.wso2.maven:wso2-release-helper-plugin:1.0.0-SNAPSHOT:rollback
commit message: [wso2-release-plugin] rollback the release of ${ReleaseTag}
...