A collection shell scripts contains compile project script, migrate script, redeploy project script, backup script etc. Also all execptions have been handle.
#Usage You can clone repo to anywhere, and then define a shell-script home to your path.
#Description
Integrate git pull command, and return whether need update code.
sh git-pull.sh
Using Flyway migration tool.
sh migrate.sh profile module-directory
Package specific module, also no need to build any useless module.
sh mvn-package.sh module-name profile module-directory
Deploy Tomcat easily. also this shell can restart tomcat by the specific name.
sh tomcat-deploy.sh tomcat-home maven-target webapp-name
A sample for using scripts
, also contains unexcepted stop execption, this sample depends on the shell-script-web-sample project.