Hi,
You should have a look at the Maven Invoker[1]
It is used by the Maven Release Plugin and Maven Invoker Plugin to fire up
a Maven build in a new JVM.
Robert
ps. next time you should the Maven User Mailinglist for such questions.
The Maven Developers list is used for development on Mave
attaching sample archetype-catalog.xml
Martin Gainty
__
Gelieve niet veranderen of verstoren deze transmissie
From: mgai...@hotmail.com
To: dev@maven.apache.org
Subject: RE: Run maven commands from Java code
Date: Mon, 13 May 2013 20:05:31 -0400
MG>Elmar MG>If you believe maven-embedder lacks documentation on generating
archetypes
MG>perhaps you can gain insight into how archetypes are generated by want
reading these URLS
MG>http://maven.apache.org/ref/3.0.2/maven-embedder/team-list.htmlMG>http://maven.apache.org/archetype/maven-archetyp