aem:validate-content

Full name:

com.unic.maven.plugins:aem-maven-plugin:2.0.17-SNAPSHOT:validate-content

Description:

Performs XML validation of all XML files within a directory, by default within src/main/content (see contentDirectory). This can be used to ensure that JCR content is syntactically valid.

Attributes:

Optional Parameters

Name Type Since Description
<allowUuids> boolean - UUIDs should not be present in XML content as importing UUIDs may conflict with existing UUIDs on the target system. set this to true to allow UUIDs.
Default value is: false.
User property is: allow.uuids.
<contentDirectories> File[] - Additional directories containing JCR XML content for import into AEM that shall be validated by the validate-xml mojo.
User property is: content.directories.
<contentDirectory> File - The standard directly containing content XML files to be validated.
Default value is: ${project.basedir}/src/main/content.
User property is: content.directory.

Parameter Details

<allowUuids>

UUIDs should not be present in XML content as importing UUIDs may conflict with existing UUIDs on the target system. set this to true to allow UUIDs.
  • Type: boolean
  • Required: No
  • User Property: allow.uuids
  • Default: false

<contentDirectories>

Additional directories containing JCR XML content for import into AEM that shall be validated by the validate-xml mojo.
  • Type: java.io.File[]
  • Required: No
  • User Property: content.directories

<contentDirectory>

The standard directly containing content XML files to be validated.
  • Type: java.io.File
  • Required: No
  • User Property: content.directory
  • Default: ${project.basedir}/src/main/content