verifier:verify

Full name:

org.apache.maven.plugins:maven-verifier-plugin:1.0:verify

Description:

Verifies the existence or non-existence of files/directories and optionally checks file content against a regular expression.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Binds by default to the lifecycle phase: integration-test.

Required Parameters

Name Type Since Description
basedir File - Project base directory (prepended to relative file paths).
failOnError boolean - Whether the build will fail on verification errors.
Default value is: true.
verificationFile File - The file containing the verifications to perform.
Default value is: ${basedir}/src/test/verifier/verifications.xml.

Parameter Details

basedir:

Project base directory (prepended to relative file paths).
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}

failOnError:

Whether the build will fail on verification errors.
  • Type: boolean
  • Required: Yes
  • Expression: ${verifier.failOnError}
  • Default: true

verificationFile:

The file containing the verifications to perform.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${verifier.verificationFile}
  • Default: ${basedir}/src/test/verifier/verifications.xml