[ http://jira.codehaus.org/browse/MNG-897?page=comments#action_47331 ] 

Yann Le Du commented on MNG-897:
--------------------------------

Apart from avoiding writing a Maven plugin when you don't know how, I see two 
reasons why you would want to call Ant scripts from Maven :

 * You have an Ant script which configures your project for the developement 
environment. The production team uses the same Ant script to configure the 
project for the production environment, and they * won't * use Maven. 
Obviously, you don't want to duplicate your scripting into an Ant script AND a 
Maven plugin, because you would have to synchronize every modification. So you 
will go on with the Ant script.

 * You want to quickly "mavenize" a highly-Ant-dependent project - and prove 
this is worth and painless :) In a first phase, you only want to write POMs, 
and keep all your existing do-some-obscure-tasks Ant scripts (but keeping in 
mind that you'll replace them by Maven plugins later)

In both cases, it would be great to leave the existing Ant script alone, and 
only write some calling code. It seems to me that John's foo-build.xml and 
foo-build.bindings.xml fully fills this need. foo-build.xml could as well be an 
existing Ant script... Am I wrong ?

> allows use of Ant build files
> -----------------------------
>
>          Key: MNG-897
>          URL: http://jira.codehaus.org/browse/MNG-897
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-ant-plugin
>     Versions: 2.0-alpha-3
>     Reporter: Chris Berry
>     Assignee: John Casey
>      Fix For: 2.0-beta-3
>  Attachments: antfile.zip
>
> Original Estimate: 8 hours
>        Time Spent: 8 hours
>         Remaining: 1 hour
>
> Per John Casey, This is logged to that it stays on the radar.
> Please consider incorporating my antfile plugin.
> I have included the following in the ZIP
> maven-antrun-plugin --> the basic antrun w/ a few small mods
> maven-antfile-plugin
> maven-axisant-plugin --> an example plugin using the antfile plugin
> axis-master --> a "grouping" plugin for axis example
> my-app --> an example app using the axisant plugin.
> Cheers,
> -- Chris 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to