Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Jackrabbit Filter- Node is not contained in any of the filter rules

Avatar

Level 8

I am trying to build a workflow model in AEMaaCS but it failed to build the code with below errors, but the same is working in my local AEM SDK without having any error. 

 

13:40:53,455 [main] [ERROR] ValidationViolation: "jackrabbit-filter: Node '/conf/global/settings/models' is not contained in any of the filter rules", filePath=jcr_root/conf/global/settings/models/.content.xml

 

Below is my filter.xml

 
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">

<filter root="/conf/global/settings/workflow" mode="merge"/>
<filter root="/var/workflow/models" mode="merge"/>
</workspaceFilter>
1 Accepted Solution

Avatar

Correct answer by
Community Advisor
4 Replies

Avatar

Level 5

Hi @Mario248

It is because of the jackrabbit version issue, could you please update the dependency of the jackrabbit validator in the pom and try to built it, that should resolve the issue.

https://issues.apache.org/jira/browse/JCRVLT-489

Please refer above thread for more information.

Avatar

Correct answer by
Community Advisor

Avatar

Level 8

Resolved all error after adding below config in filevault-package-maven-plugin artifactId

 

<filters>
<filter><root>/conf</root></filter>
</filters>
 

Could you please check if https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/jackrabbit-emptyelements-f... this is related to any dependency settings ?

Avatar

Level 8

Any reason why I did not face this build issue in local AEM SDK and faced only in cloud ? Can I replicate this issue in local by any chance ?