Re: invoke maven from java

2007-06-02 Thread Jason van Zyl
I just updated the embedder guide so it's accurate now. Note that the embedder is only for the code in trunk which is slated for 2.1. On 31 May 07, at 9:07 PM 31 May 07, 張旭 wrote: Thanks to Jiaqi Guo. But I also found maybe maven-embedder can give me some help

Re: invoke maven from java

2007-05-31 Thread 張旭
Thanks to Jiaqi Guo. But I also found maybe maven-embedder can give me some help (http://maven.apache.org/guides/mini/guide-embedding-m2.html). On 5/30/07, Jiaqi Guo [EMAIL PROTECTED] wrote: Check $M2_HOME/bin/mvn please. .. exec $JAVACMD \ $MAVEN_OPTS \ -classpath

invoke maven from java

2007-05-29 Thread 張旭
Hi, everyone. Is there a way to invoking maven from java code? Thanks in advance.

Re: invoke maven from java

2007-05-29 Thread Henry Isidro
?? wrote: Hi, everyone. Is there a way to invoking maven from java code? Thanks in advance. Hi ??, Continuum does something like that. You can check out the continuum code at https://svn.apache.org/repos/asf/maven/continuum/trunk. Then look at

Re: invoke maven from java

2007-05-29 Thread Jiaqi Guo
Check $M2_HOME/bin/mvn please. .. exec $JAVACMD \ $MAVEN_OPTS \ -classpath ${M2_HOME}/boot/classworlds-*.jar \ -Dclassworlds.conf=${M2_HOME}/bin/m2.conf \ -Dmaven.home=${M2_HOME} \ ${CLASSWORLDS_LAUNCHER} $QUOTED_ARGS So in a typical case, mvn compile package will be java -cp