You basically wrap write your plugin in ANT. So specific goals corresponds to specific build.xml's. The parameters are defined and injected in (by properties IIRC) and it then behaves exactly like a Java plugin would.
I agree that we should put out some documentation on how to write them though On 17 June 2011 13:55, Markos Charatzas <[email protected]> wrote: > Thanks for that Stephen. Documentation seems lacking so can't tell exactly > how ANT bindings is meant to be used. > > Is it for executing ant scripts from within Java? So effectively write a > custom MOJO for each goal executing a specific ant target? > > Mark, can't seem to find anything, on > http://www.sonatype.com/books/mvnref-book/reference/ the online version at > least , related to ant bindings. > > -- > View this message in context: > http://maven.40175.n5.nabble.com/How-to-bind-ant-to-a-maven-plugin-custom-goal-tp4498426p4498650.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
