Hi,

You can put that in a maven.xml file with some goal name and it will
execute:


<project xmlns:j="jelly:core" xmlns:ant="jelly:ant">
<goal name="runabc">
 <ant:java classname="a.b.c"
fork="true"
failonerror="true" >
<ant:arg value="abc"/>
<ant:classpath refid="my.classpath"/>
</ant:java>
</goal>
</project>

then in your project directory, run 'maven runabc'.

It might not work the way I did it, but you can get the idea.

Eric

Reply via email to