Fork me on GitHub

Node Types and Namespaces

Packages can register custom JCR node types and Namespaces during import by carrying arbitrarily many .cnd files. All files names matching the regular expression pattern set in package property cndPattern as well as all *.cnd files below META-INF/vault are considered. Details around the CND file format can be found at https://jackrabbit.apache.org/jcr/node-type-notation.html. Node types and namespaces whose qualified name/uri are already registered are not touched. This also means that existing namespaces and node types are never modified but only once initially installed in case they are not yet there.