I'm now trying to write a maven 2 plugin to execute a 2rd party's tools 
command line class. The class is written is java. The tool also has an ant 
task which just uses the Java task in ant to invoke the command line tool in 
a forked jvm. Does m2 already provide such functionality and I just haven 
seen it? Or barring that, can I add a dependency on a set of plugins that 
will allow my plugn to instantiate the the ant Java task, configure it and 
then call its execute() method.

I'm trying to avoid having end users create an additional build.xml, instead 
I'd rather they just configure my plugin in the pom, and I can internally 
configure the ant Java task and invoke it.

Wb

Reply via email to