[ http://jira.codehaus.org/browse/MNG-897?page=comments#action_47245 ]
John Casey commented on MNG-897: -------------------------------- The plugin will have at least one build.xml and at least one build.metadata.xml file (they may be named differently, but '.xml' and '.metadata.xml' suffixes must be preserved). The build.xml will contain at least one target that you want to execute as a mojo...this target may be the default target, if you wish. The build.metadata.xml will contain a set of mojo definitions, including parameters, various build system requirements (like online status, a valid project, etc.), and a mapping element from each mojo definition to a target in the corresponding build.xml script. If this mapping element is left off, the default target is assumed. The POM plugin definition for using an Ant-based mojo will look exactly like it would for any type of mojo. The mojo implementation language is abstracted away from the user. I'll post more specifics about the metadata file, etc. once I have this tested. > 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]