Codeartisans/asadmin — pull request #19 by Adi3000 (2012-12-16 18:06:40+00:00)
Title: Redeploy action and virtualservers option

Hello,

First thanks for your work which is a very good base to autodeploy with jenkins or others.

I've worked today on two feature which I needed for my own usage. I which you where interested by what I've done.

I finished the Redeploy function (that you've begun) and that I wanted very early. It seems to work (I implemented some JUnit test also to keep the way you proceed). But I have to warn you that to make it work with my project I updated pom.xml of plugin with maven-plugin-api 3.0.4 and maven-project 2.2.1.

I got a strange bug with Maven 3 (and JDK1.7) which where fixed with upgrading
(RuntimeExeption caused by NullPointerExeption on a simple Deployment d = new Deployment()
[RedeployMojo.java:l.44])

I don't know if it works on Maven2.

And finally second warn : I've changed pom.xml of project to use my personal repository : codeartisans-parent-fake (to avoid deploying on oss.sonatype repo). Hope it doesn't bother you to much

Thanks for your work and please yourself with what I've done