Siegfried, The development team is actively working on m2 documentation, and I beleive you will see lots doco will be available soon. Voting is going on dev list to load up new doco site layout However, I have seen lot traffic discussion about having a mojo to do exactly what your try to do by invoking java with classpath containing dependency artifacts. Here are some links that my help http://mojo.codehaus.org/maven-execute-plugin/ deprecated http://docs.codehaus.org/display/MAVEN/Maven+Runtime Search the archive for "execute", i am sure you will find more info. Assume that the desired plugin/mojo is available, all you need is a pom.xml + the plugin's configuration in the pom Hope it helps -D
On 10/16/05, Siegfried Heintze <[EMAIL PROTECTED]> wrote: > > I'm reading http://maven.apache.org/maven2/general.html and > http://maven.apache.org/maven2/maven1.html#m1-maven-xml and I still don't > understand where I learn about converting the following maven.xml file > (see > below) for use with m2. Can someone point me to the proper URL that > contains > the M2 documentation that will tell me how to convert a minimal maven 1.1 > project to m2 given the maven.xml file below? > > Thanks, > Siegfried > > <?xml version="1.0" encoding="utf-8"?> > > <project default="jar" xmlns:maven="jelly:maven" xmlns:ant="jelly:ant" > xmlns:j="jelly:core" xmlns:u="jelly:util"> > <goal name="run" prereqs="jar"> > <ant:java classname="mdn.testapp.App" fork="true"> > <ant:classpath> > <ant:pathelement > location="${maven.build.dir}/${maven.final.name <http://maven.final.name> > }.jar"/> > <j:forEach var="lib" items="${pom.artifacts}"> > <ant:pathelement path="${lib.path}"/> > </j:forEach> > </ant:classpath> > </ant:java> > </goal> > </project> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >