Skip to content

CND file with all Node types and Namespaces defined by wcm.io Modules.

License

Notifications You must be signed in to change notification settings

wcm-io/io.wcm.tooling.nodetypes.wcmio

Repository files navigation

wcm.io Nodetypes

Build Maven Central

Overview

Provides a CND file with all Node types and Namespaces defined by wcm.io Modules. It can be used for the FileVault Validation Module and its jackrabbit-nodetype validator as addition to the AEM nodetypes.

Usage with Maven

You can use this module with the FileVault Package Maven Plugin in version 1.1.4 or higher like this:

<plugin>
  <groupId>org.apache.jackrabbit</groupId>
  <artifactId>filevault-package-maven-plugin</artifactId>
  <configuration>
    <validatorsSettings>
      <jackrabbit-nodetypes>
        <options>
          <!-- use the nodetypes and namespaces from the aem-nodetypes.jar provided in the plugin dependencies -->
          <cnds>tccl:aem.cnd,tccl:wcmio.cnd</cnds>
        </options>
      </jackrabbit-nodetypes>
    </validatorsSettings>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>biz.netcentric.aem</groupId>
      <artifactId>aem-nodetypes</artifactId>
      <version><!-- pick AEM version --></version>
    </dependency>
    <dependency>
      <groupId>io.wcm.tooling.nodetypes</groupId>
      <artifactId>io.wcm.tooling.nodetypes.wcmio</artifactId>
      <version>1.0.0</version>
    </dependency>
  </dependencies>
</plugin>