See guides about embedding maven.

Matt Wheeler wrote, On 2006-09-12 4:59 PM:
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.

--
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to