Maven Ant Tasks

The Mavent Ant Tasks allow many of Maven's artifact handling features to be used from within Ant. These include:

  • Dependency management - including transitive dependencies, scope recognition and SNAPSHOT handling
  • Artifact deployment - deployment to a Maven repository (file integrated, other with extensions)
  • POM processing - for reading a Maven 2.0.x pom.xml file

The Ant tasks can be downloaded from the Maven 2.0 download page.

Ant 1.6.x or 1.7.x is required to use Maven Ant tasks.

Usage

General instructions for installing and using the maven ant tasks can be found on the installation page and the usage page respectively.

Examples

Several common usage examples are provided for the following tasks:

Getting Help

If you have any questions specific to the Ant tasks, please contact the Maven Users Mailing List.

For more on the Maven functionality behind the Ant tasks, try the following links: