verifier:verify

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

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: integration-test

Required Parameters

Name Type Description
basedir File Project base directory (prepended for 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.

Parameter Details

basedir

Project base directory (prepended for relative file paths).

  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}

failOnError Whether the build will fail on verification errors.
  • Type: boolean
  • Required: Yes
  • Default: true

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