You are right. There isn't a migration strategy from maven1 to maven2 as
I know, or can see. I have read that there will be groovy supported if
it reaches the final version state. Within groovy ant is supported.
Currently it helps you to start here:
http://ant.apache.org/manual/antexternal.html
You should also check in advance the groovy site to check if your
requirements can match the groovy functions for ant integration.
http://groovy.codehaus.org/Ant+Scripting
As the plugins are distributed in jar file format it isn't easy to share
your current ant scripts. Maybe you can think about to package your ant
scripts in the jar file, extract and use it. I know, it isn't a nice way
but maybe other people here have good ideas how to do that or can
provide a better way.
Good luck
Heiko
Brill Pappin wrote:
I'm about to embark on writing a maven 2 plugin for Antenna.
Antenna has existing Ant tasks defined (in fact its an Ant task lib).
In Maven 1 it was fairly easy to implement a Maven plugin using ant tasks
because you could simple call them int he plugin... how would that type of
conversion be done for Maven 2?
So far the best I can see is to create a new Mojo that mirrors the Ant
task(s).
Is there documentation some place on converting an Ant task to a maven goal?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]