Goals available for this plugin:
| Goal | Description |
|---|---|
| ant:run | Maven Ant Mojo. Allows Maven to invoke a target inside an Ant build file. The build file can be located on the file system, the ant-maven-plugin classpath, or any resource URL that Spring 3.0 can understand. By default, this mojo makes the following available to Ant build files as both properties and references: maven.compile.classpath=The classpath Maven is using for compilationmaven.runtime.classpath=The classpath Maven is using at runtime maven.test.classpath=The classpath Maven is using for testing maven.plugin.classpath=The classpath for the ant-maven-plugin These are available as Ant references: maven.project=MavenProjectmaven.project.helper=MavenProjectHelper maven.local.repository=ArtifactRepository |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 2.0 |
| JDK | 1.6 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>ant-maven-plugin</artifactId>
<version>1.0.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>org.kuali.maven.plugins</groupId>
<artifactId>ant-maven-plugin</artifactId>
<version>1.0.1-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"