Reputation: 35961
I'm looking for a very simple deployment tool for JVM projects (Java, Spring, Grails, etc), with following features:
Should be something like:
$ deploytool staging deploy
$ deploytool staging rollback
or
$ mvn deploytool:deploy -P staging
$ mvn deploytool:rollback -P staging
Basically it's just a:
/.../application/version-%date%/
)/.../application/current/
-> /.../application/version-%date%/
sudo service tomcat7 restart
)I've taken a look at Puppet and JClouds, but seemst that it's different thing, more about cluster configuration, not deployment. Currently i'm using Ruby Capistrano for one project, and bash scripts for another. Capistrano is good, but requires installation of rvm, ruby, gems, etc, it's not working well for non-ruby team, and requires a lot of customizations for java project.
So, i'm wondering, is there any Capistrano-like tool for Java/JVM projects?
Upvotes: 2
Views: 463
Reputation: 7989
maven-compiler-plugin
, maven-surefire-plugin
and maven-war-plugin
to buildbuildnumber-maven-plugin
to create property with current timestamp valuewagon-maven-plugin
with generated timestamp value to upload war to staging serversshexec-maven-plugin
to start shell scripts which will restart tomcat with application for selected version Upvotes: 2