(note, you do not need to build/deploy, it will be done as part of the nephron build)
cd catheter
git checkout master
git pull
mvn versions:set -DnewVersion=1.0.2
git commit -a -m 'release: Catheter v1.0.2'
git tag -u [email protected] -s v1.0.2
cd ..
mvn versions:set -DnewVersion=0.2.2
git commit -a -m 'release: Nephron v0.2.2'
git tag -u [email protected] -s v0.2.2
git push origin v0.2.2
# the "release" profile turns on GPG signing
mvn -Prelease clean deploy
Because of the way the submodules work, you will need to release Catheter to Maven Central manually.
- go to the sonatype repo interface
- select the staging repository that contains catheter
- "close" it
- "release" it
cd catheter
mvn versions:set -DnewVersion=1.0.3-SNAPSHOT
git commit -a -m '1.0.2 -> 1.0.3-SNAPSHOT'
# catheter submodule is checked out as read-only by default, set the repo explicitly when pushing
git push [email protected]:opennms-forge/catheter.git
git push --tags [email protected]:opennms-forge/catheter.git
cd ..
mvn versions:set -DnewVersion=0.2.3-SNAPSHOT
# edit pom to use snapshot Catheter version
vim generator/pom.xml main/pom.xml
git commit -a -m '0.2.2 -> 0.2.3-SNAPSHOT'
git push
git push --tags