Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

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

Avatar

Level 9

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 9

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 9

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 ?