create a maven plugin using the ANT bindings

http://maven.apache.org/plugin-tools/maven-plugin-tools-ant/index.html

I can't find the example for an ANT based plugin at the moment... should be
more promenant though

On 17 June 2011 12:10, Markos Charatzas <[email protected]> wrote:

> The way to integrate maven with ant is to simply use the
> maven-antrun-plugin
> like
>
>
> <plugin>
>    <groupId>org.apache.maven.plugins</groupId>
>    <artifactId>maven-antrun-plugin</artifactId>
>    <version>1.6</version>
>    <executions>
>        <execution>
>            <id>package</id>
>            <phase>package</phase>
>            <configuration>
>                <tasks>
>        <ant antfile="build.xml" target="package" />
>      </tasks>
>    </configuration>
>            <goals>
>                <goal>run</goal>
>            </goals>
>        </execution>
>    </executions>
> </plugin>
>
>
> in your project's pom.xml file
>
> However I want to be able to have that associated build.xml script along
> with the execution configuration as part of a maven plugin that defines a
> custom packaging and a lifecycle.
>
> Is there a way to do that?
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/How-to-bind-ant-to-a-maven-plugin-custom-goal-tp4498426p4498426.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]
>
>

Reply via email to