Calling Maven goals from Java

Posted by ned24 on Stack Overflow See other posts from Stack Overflow or by ned24
Published on 2009-09-28T15:49:19Z Indexed on 2010/05/26 4:51 UTC
Read the original article Hit count: 178

Filed under:
|

Is it possible to call Maven goals from Java, for instance, can I do the equivalent of:

mvn clean package

from a Java class?

thanks, Nick

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-2