aem 6.5.21 custom index | Community
Skip to main content
sreedobe
Level 4
March 17, 2025
Solved

aem 6.5.21 custom index

Hi,

 

AEM version: 6.5.21

 

I tried to follow documentation at https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/operations/indexing#deploying-custom-index-definitions

to create a custom index for dam:AssetContent and use FileVault verion 1.3.2 , 1.4.0 but app build is failing with below error.[Project Configuration section talks about updating file vault plugin version to >= 1.3.2]

 

 

 

 

 

[ERROR] Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.4.0:validate-package (default-validate-package) on project site-web-apps: Execution default-validate-package of goal org.apache.jackrabbit:filevault-package-maven-plugin:1.4.0:validate-package failed: Exception in validator 'jackrabbit-nodetypes' while validating file 'apps/site-web/components/content/accordion/_cq_editConfig.xml' (line 6, column 41): Could not create node type information for path '/apps/site-web/components/content/accordion/cq:editConfig': Invalid node name 'cq:editConfig': cq: is not a registered namespace prefix. -> [Help 1]

 

 

 

 

Any help is appreciated. Is above documentation only for cloud or is it ok If I follow above steps for aem 6.5.21 as well.

FYI: Above component exists from day one and there was no issue earlier, this seems to be issue with above filevault versions.

 

Thanks,

Sree

arunpatidar
arunpatidarAccepted solution
New Participant
March 18, 2025

Hi @sreedobe 

Please check the namespaces in the xml file : 

apps/site-web/components/content/accordion/_cq_editConfig.xml

 

Example

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:EditConfig" cq:actions="[edit,delete,insert]"/>

 

Arun Patidar

2 replies

kautuk_sahni
Employee
April 10, 2025

@sreedobe Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni
arunpatidar
arunpatidarAccepted solution
New Participant
March 18, 2025

Hi @sreedobe 

Please check the namespaces in the xml file : 

apps/site-web/components/content/accordion/_cq_editConfig.xml

 

Example

<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:EditConfig" cq:actions="[edit,delete,insert]"/>

 

Translate
Arun Patidar