-
Notifications
You must be signed in to change notification settings - Fork 0
Release and deploy
Imad laghrissi edited this page Jan 9, 2020
·
8 revisions
Pre-release
- git checkout <YOUR_BRANCH>
- git pull
Release
- change pom version :
mvn versions:set -DnewVersion=x.y.z -DgenerateBackupPoms=false - run : mvn clean install
- git commit -m "update to version x.y.z
- create tag and push it:
git tag -a vx.y.z -m "my version x.y.z"
git push origin vx.y.z
Post-release
- change pom to next SNAPSHOT (x.y+1.z). if you want to delievre bug change bugFix (x.y.z+1)
mvn versions:set -DnewVersion=x.y+1.z-SNAPSHOT -DgenerateBackupPoms=false - commit and push :
git commit -m "update to vx.y+1.z"
git push -u origin <YOUR_BRANCH>
after clean install deploy your generated war in tomcat
- Go to : $CATALINA_HOME/bin
- Shutdown server : catalina.bat stop
- Put your war in $CATALINA_HOME/bin/webapps
- Run server : catalina.bat run
- Go to : http://localhost:8080/<CONTEXT_OF_YOUR_APP>