ant:ant

Full name:

org.apache.maven.plugins:maven-ant-plugin:2.1:ant

Description:

Generate Ant build files.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.

Required Parameters

Name Type Since Description
localRepository ArtifactRepository - The local repository where the artifacts are located.
project MavenProject - The project to create a build for.

Optional Parameters

Name Type Since Description
overwrite boolean - Whether or not to overwrite the build.xml file. Default value is: false.
remoteRepositories List - The remote repositories where artifacts are located.

Parameter Details

localRepository :

The local repository where the artifacts are located.

  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: Yes
  • Expression: ${localRepository}

overwrite :

Whether or not to overwrite the build.xml file.

  • Type: boolean
  • Required: No
  • Expression: ${overwrite}
  • Default: false

project :

The project to create a build for.

  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}

remoteRepositories :

The remote repositories where artifacts are located.

  • Type: java.util.List
  • Required: No
  • Expression: ${project.remoteArtifactRepositories}