Description

Update the main POM version number from the project root directory (remove SNAPSHOT suffix).

mvn versions:set -DnewVersion=newVersionGoesHere

This will create a backup file for every pom.xml in the project with a '.versionBackup' postfix. These can be removed with the following command:

find . -name 'pom.xml.versionsBackup' | xargs rm

Update the main POM version number from the examples directory (remove SNAPSHOT suffix).

mvn versions:set -DnewVersion=newVersionGoesHere

This will create a backup file for every pom.xml in the project with a '.versionBackup' postfix. These can be removed with the following command:

find . -name 'pom.xml.versionsBackup' | xargs rm

Delete everything in $USER_HOME/.m2/repository/org/milyn before building. Do this so you can check versions in the local repo before deploying to the central mave repo ("mvn clean deploy -P deploy"). If the pom versions have all been updated properly, you should only see binaries for the version of Smooks you are building. You should not see other versions. If you do see other versions, that means not all the poms have been updated properly, so you need to search a bit. This is very important because we only have one shot at uploading to the release repo (non-SNAPSHOT repo)!!!

Do a dry run of the build ("mvn clean install").

Check the versions in the local maven repo. See #1 above.

Repeat until versions are all OK in the local repo i.e. you only have binaries for the version of Smooks being released.

Do a release build and deploy of the Smooks binaries ("mvn clean deploy -P deploy").

Run the distro build ("mvn clean package" in smooks-cartridges/smooks-distro).

Maurice Zeijen
added a comment - 23/Nov/09 3:51 PM For the Smooks 1.3 release could you please also upload the http://www.milyn.org/xsd/smooks/persistence-1.2.xsd Schema again? I added documentation to this schema. The schema structure it self didn't change so no new Schema version is required.

Daniel Bevenius
added a comment - 26/Feb/14 2:25 AM Are the following steps required anymore?
2. Update the version number in assembly.xml
3. Update the User Guide URL in assembly.xml
I was not able to find an assembly.xml anywhere.