Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
aem-classification:download-content-classification Downloads the classification data from a remote JCR repository (only works with AEM 6.4 or newer), serializes it into a map file and optionally wraps that within a JAR file.

That JAR file still needs to be manually uploaded to a Maven repository to leverage this classification map from the plugin.

Uses the JCR search to find the current classification and also deprecation infos from properties "cq:deprecated" and "cq:deprecatedReason" The search index needs to be setup for that though (property index limited to properties jcr:primaryType and jcr:mixinTypes for node types granite:FinalArea, granite:PublicArea, granite:InternalArea, granite:AbstractArea and another property index for properties cq:deprecated for any node type)

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.3.9
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>biz.netcentric.filevault.validator</groupId>
          <artifactId>aem-classification-maven-plugin</artifactId>
          <version>1.0.2-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>biz.netcentric.filevault.validator</groupId>
        <artifactId>aem-classification-maven-plugin</artifactId>
        <version>1.0.2-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"