Reputation: 18712
I have several Maven projects - a web service, which depends on several libraries.
When I add a new feature and want to deploy the web service to the server, I usually need to build these libraries in the correct order, i. e.
mvn clean install
there.mvn clean install
there.mvn clean install
there.mvn cargo:redeploy
The process must stop, if any of these steps end with a build failure (most of the time the builds are successful).
How can I automate this process (make one action instead of 7) in a clean way?
I'm using Git (hosted at Beanstalk) for version control and Amazon EC2 as a web app server.
Upvotes: 1
Views: 188