Skip to content

Provides a CND file with all Node Types and Namespaces defined in AEM

License

Notifications You must be signed in to change notification settings

Netcentric/aem-nodetypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License Maven Central Java CI/CD

Overview

Provides a CND file with all Node types and Namespaces defined in AEM. It can be used for the FileVault Validation Module and its jackrabbit-nodetype validator.

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>
  <version>1.1.4</version>
  <configuration>
    <validatorsSettings>
      <jackrabbit-nodetypes>
        <options>
          <!-- use the nodetypes and namespaces from the aem-nodetypes.jar provided in the plugin dependencies -->
          <cnds>tccl:aem.cnd</cnds>
        </options>
      </jackrabbit-nodetypes>
    </validatorsSettings>
  </configuration>
  <dependencies>
    <dependency>
      <groupId>biz.netcentric.aem</groupId>
      <artifactId>aem-nodetypes</artifactId>
      <version>2023.10.0</version>
    </dependency>
  </dependencies>
</plugin>

Provided Versions

Version Type Description
2023.10.0 Cloud Exported from AEM SDK 2023.10.13804.20231005T183332Z-230902.
2022.10.0 Cloud Exported from AEM SDK 2022.10.9398.20221020T071514Z.
2020.11.0 Cloud Exported from AEM SDK 2020.11.4506.20201112T235200Z.
2020.09.0 Cloud Exported from AEM SDK 2020.9.4194.20200909T200349Z-200827. Suffers from #2
6.5.7.0 Classic Exported from AEM 6.5.7
6.5.5.0 Classic Exported from AEM 6.5.5, has not changed for AEM 6.5.6. Suffers from #2

Pick the version which is closest to your AEM version. In general the node types are very stable (i.e. do not change for service packs in Classic and very rarely in Cloud aka AEMaaCS).

Generation of CND

The CND exposed by this Maven artifact is exported from a running plain AEM version through the JCR Web Console Plugin 1.1.0 via the endpoint /system/console/status-JCR%20CND.txt.