We needed to do something similar a while back. The solution we came up was
to use groovy and AntBuilder (
http://groovy.codehaus.org/Using+Ant+from+Groovy). Not that you can't do it
with java but it'll just be too verbose and hard to maintain.
If nothing else invoking mvn install from AntBuilder
Hi,
I am looking to do something similar. I want to deploy maven to a web server
where I can remotely run commands like mn install to deploy jars from our
local repository for multiple applications without having to deploy multiple
war files.
Do you need to deploy the artifacts only ? like
.40175.n5.nabble.com/Calling-Maven-from-Java-tp5478139p5478139.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users
--
View this message in context:
http://maven.40175.n5.nabble.com/Calling-Maven-from-Java-tp5478139p5478186.html
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr