ant-assembly:integration-test

Full name:

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

Description:

Wrap the Ant executions to catch their build result and store a Surefire/Failsafe compliant summary file. Typical usage is the execution of Ant commands performing some tests.

Attributes:

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

Required Parameters

Name Type Since Description
summaryFile File - The summary file to write integration test results to.
Default value is: ${project.build.directory}/nxtools-reports/nxtools-summary.xml.

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}.
reportingEncoding String 2.0 The character encoding scheme to be applied. Defaults to AntBuildMojo.getEncoding() if not defined.
Default value is: ${project.reporting.outputEncoding}.
settings Settings - (no description)
Default value is: ${settings}.
skipITs boolean 2.0 Set this to true to skip running integration tests.
User property is: skipITs.
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.
testFailureIgnore boolean - Deprecated. Since 2.0. Now never fail during integration-test and rely on verify for exception raise.
Default value is: true.
User property is: maven.test.failure.ignore.

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}

reportingEncoding:

The character encoding scheme to be applied. Defaults to AntBuildMojo.getEncoding() if not defined.
  • Type: java.lang.String
  • Since: 2.0
  • Required: No
  • Default: ${project.reporting.outputEncoding}

settings:

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

skipITs:

Set this to true to skip running integration tests.
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: skipITs

summaryFile:

The summary file to write integration test results to.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/nxtools-reports/nxtools-summary.xml

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

testFailureIgnore:

Deprecated. Since 2.0. Now never fail during integration-test and rely on verify for exception raise.
That property is ignored.
  • Type: boolean
  • Required: No
  • User Property: maven.test.failure.ignore
  • Default: true