Re: Calling Maven from Java

2012-02-14 Thread Gaurav Arora
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

Re: Calling Maven from Java

2012-02-13 Thread Karl Heinz Marbaise
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

Calling Maven from Java

2012-02-12 Thread shruthiarjun
.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

Re: Calling Maven from Java

2012-02-12 Thread MikeOliverAZ
-- 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