maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: How to bind ant to a maven-plugin custom goal
Date Fri, 17 Jun 2011 13:23:23 GMT
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 <cuenoid@gmail.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message