xml:validate

Full name:

org.codehaus.mojo:xml-maven-plugin:1.0:validate

Description:

The ValidatorMojo's task is the validation of XML files against a given schema.

Attributes:

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

Optional Parameters

Name Type Since Description
catalogs String[] - An XML catalog file, or URL, which is being used to resolve entities.
validationSets ValidationSet[] - Specifies a set of document types, which are being validated.

Parameter Details

catalogs:

An XML catalog file, or URL, which is being used to resolve entities.
  • Type: java.lang.String[]
  • Required: No

validationSets:

Specifies a set of document types, which are being validated.
  • Type: org.codehaus.mojo.xml.validation.ValidationSet[]
  • Required: No