|
I was wondering if there is a Java API for Maven, from which to call mvn commands? For instance, we would like to (OS agnostically - maybe the cd and rmdir cannot be OS agnostic) perform the following operations, checking for any errors that occur:
mvn archetype:create -DarchetypeArtifactId=stack-fuse -DarchetypeGroupId=abc.def.stack -DarchetypeVersion=2.0-SNAPSHOT -DartifactId=testproject -DgroupId=abc.def -DremoteRepositories=http://somelib:1234/maven2
cd testproject
mvn package site eclipse:eclipse -Dwtpversion=1.0
cd ..
rmdir testproject
Thanks,
Matt W.
|
- Calling mvn commands from Java Matt Wheeler
- Re: Calling mvn commands from Java Geoffrey De Smet
- Re: Calling mvn commands from Java Arnaud Bailly
- RE: Calling mvn commands from Java hermod.opstvedt
- Re: Calling mvn commands from Java Subhash Chandran
- Re: Calling mvn commands from Java dan tran
- RE: Calling mvn commands from Java hermod.opstvedt
