ant-assembly:build

Full name:

org.nuxeo.build:ant-assembly-maven-plugin:2.0.5-SNAPSHOT:build

Description:

Execute an Ant build manipulating Maven objects (artifacts, dependencies, properties, profiles, repositories, graph...). Typical usage is the build of a distribution. It is also commonly used to setup and teardown the integration test environment.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Requires dependency collection of artifacts in scope: test.
  • The goal is thread-safe and supports parallel builds.
  • Binds by default to the lifecycle phase: package.

Optional Parameters

Name Type Since Description
buildFile File - Location of the build file, if unique
User property is: buildFile.
buildFiles File[] - Location of the build files.
User property is: buildFiles.
encoding String - The character encoding scheme to be applied.
Default value is: ${project.build.sourceEncoding}.
User property is: aamp.encoding.
expand String - How many levels the graph must be expanded before running Ant.
Default value is: 0.
User property is: expand.
exportAntProperties boolean 2.0 If true, Ant properties are propagated to Maven.
Default value is: false.
User property is: aamp.exportAntProperties.
exportedAntProperties Set 2.0 If set, only the listed properties will be set back to Maven from Ant.
User property is: aamp.exportedAntProperties.
failOnError boolean 2.0 If 'false', the Maven build will proceed even if the Ant build fails. Default is 'true'.
Default value is: true.
User property is: failOnError.
localRepository ArtifactRepository - (no description)
Default value is: ${localRepository}.
propertyPrefix String 2.0 Prefix for property names.
Default value is: maven..
User property is: aamp.propertyPrefix.
remoteRepositories List - (no description)
Default value is: ${project.remoteProjectRepositories}.
settings Settings - (no description)
Default value is: ${settings}.
target String - Ant target to call on build file(s).
User property is: target.
targets String[] 1.6 Ant targets to call on build file(s).
User property is: targets.

Parameter Details

buildFile:

Location of the build file, if unique
  • Type: java.io.File
  • Required: No
  • User Property: buildFile

buildFiles:

Location of the build files.
  • Type: java.io.File[]
  • Required: No
  • User Property: buildFiles

encoding:

The character encoding scheme to be applied.
  • Type: java.lang.String
  • Required: No
  • User Property: aamp.encoding
  • Default: ${project.build.sourceEncoding}

expand:

How many levels the graph must be expanded before running Ant.
  • Type: java.lang.String
  • Required: No
  • User Property: expand
  • Default: 0

exportAntProperties:

If true, Ant properties are propagated to Maven.
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: aamp.exportAntProperties
  • Default: false

exportedAntProperties:

If set, only the listed properties will be set back to Maven from Ant.
  • Type: java.util.Set
  • Since: 2.0
  • Required: No
  • User Property: aamp.exportedAntProperties

failOnError:

If 'false', the Maven build will proceed even if the Ant build fails. Default is 'true'.
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: failOnError
  • Default: true

localRepository:

(no description)
  • Type: org.apache.maven.artifact.repository.ArtifactRepository
  • Required: No
  • Default: ${localRepository}

propertyPrefix:

Prefix for property names.
  • Type: java.lang.String
  • Since: 2.0
  • Required: No
  • User Property: aamp.propertyPrefix
  • Default: maven.

remoteRepositories:

(no description)
  • Type: java.util.List
  • Required: No
  • Default: ${project.remoteProjectRepositories}

settings:

(no description)
  • Type: org.apache.maven.settings.Settings
  • Required: No
  • Default: ${settings}

target:

Ant target to call on build file(s).
  • Type: java.lang.String
  • Required: No
  • User Property: target

targets:

Ant targets to call on build file(s).
  • Type: java.lang.String[]
  • Since: 1.6
  • Required: No
  • User Property: targets