verifier:verify

Full name:

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

Description:

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

Attributes:

  • Requires a Maven 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).
User property is: basedir.
failOnError boolean - Whether the build will fail on verification errors.
Default value is: true.
User property is: verifier.failOnError.
verificationFile File - The file containing the verifications to perform.
Default value is: ${basedir}/src/test/verifier/verifications.xml.
User property is: verifier.verificationFile.

Parameter Details

basedir:

Project base directory (prepended to relative file paths).
  • Type: java.io.File
  • Required: Yes
  • User Property: basedir

failOnError:

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

verificationFile:

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