ant-assembly:verify

Full name:

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

Description:

Read Surefire/Failsafe summary files to verify the result of integration tests. It can also read JUnit test reports, write and aggregate the results in a summary file. Typical usage is to fail the build at a different phase than the one which ran the tests, allowing environment cleanup.

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: verify.

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.
createSummary boolean 2.0.5 Option to create summary of test suites. If summaryFile already exists, the results are aggregated to the existing summary. It is also aggregating results from the summaryFiles if set.
Default value is: false.
User property is: createSummary.
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.
failIfNoTests Boolean 2.0 Set this to "true" to cause a failure if there are no tests to run.
User property is: failIfNoTests.
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}.
reportsDirectory File 2.0.5 Base directory where the JUnit reports are read from. Only used if createSummary is true.
Default value is: ${project.build.directory}/nxtools-reports.
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.
skipTests boolean 2.0.3 Set this to true to skip running tests.
User property is: skipTests.
summaryFiles File[] 2.0 Additional summary files to read integration test results from.
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 2.0 Set this to true to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.
Default value is: false.
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

createSummary:

Option to create summary of test suites. If summaryFile already exists, the results are aggregated to the existing summary. It is also aggregating results from the summaryFiles if set.
  • Type: boolean
  • Since: 2.0.5
  • Required: No
  • User Property: createSummary
  • Default: false

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

failIfNoTests:

Set this to "true" to cause a failure if there are no tests to run.
  • Type: java.lang.Boolean
  • Since: 2.0
  • Required: No
  • User Property: failIfNoTests

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}

reportsDirectory:

Base directory where the JUnit reports are read from. Only used if createSummary is true.
  • Type: java.io.File
  • Since: 2.0.5
  • Required: No
  • Default: ${project.build.directory}/nxtools-reports

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

skipTests:

Set this to true to skip running tests.
  • Type: boolean
  • Since: 2.0.3
  • Required: No
  • User Property: skipTests

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

summaryFiles:

Additional summary files to read integration test results from.
  • Type: java.io.File[]
  • Since: 2.0
  • Required: No

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:

Set this to true to ignore a failure during testing. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Since: 2.0
  • Required: No
  • User Property: maven.test.failure.ignore
  • Default: false