Expand my Community achievements bar.

SOLVED

File vault jackrabbit plugin version downgrade from 1.3.6 to 1.1.4

Avatar

Level 2

we have added workflow models in codebase under ui.content\src\main\content\jcr_root\conf\global\settings\workflow\models and ui.content\src\main\content\jcr_root\var\workflow\models. This was working fine. After downgrading file vault version from 1.3.6 to 1.1.4, getting below errors. Does anyone have a solution for this?errors.png

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Thanks @anupampat  for helping. Issue got resolved.

It is not about the filter root mapping. Filter root mapping are properly configured. Found a workaround for this issue to get fixed by disabling nodetype validation.
<jackrabbit-nodetypes>
<isDisabled>true</isDisabled>
</jackrabbit-nodetypes>
Adding this in ui.content/pom.xml file under <validatorsSettings> fixed the plugin issue and build also getting success.

View solution in original post

7 Replies

Avatar

Level 7

Avatar

Level 2

Hi @anupampat ,

 

Thanks for your response. But in our repository structure, we already having filter.xml file, where roots paths of workflows are configured.
Here it is

<filter root="/conf/global/settings/workflow/models" mode="merge"/>
    <filter root="/var/workflow/models" mode="merge"/>

Avatar

Level 7

@TejaswiniS1 ,

 

Can you check the pom.xml of the repository structure ?

Avatar

Level 2

@anupampat 
Root paths are mentioned under validator settings. Below screenshot for reference of pom file.pomerror.png
But I realized, there is an error with plugin.
"Failed to execute mojo org.apache.jackrabbit:filevault-package-maven-plugin:1.1.4:validate-files {execution: default-validate-files} (org.apache.jackrabbit:filevault-package-maven-plugin:1.1.4:validate-files:default-validate-files:process-classes)"
Can you please let me know the solution if you have any?

Avatar

Level 7

Hi @TejaswiniS1 ,

 

Is this the POM of repository structure ? You will need to add /conf as a root path in repository structure's POM if not already done. Like this - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/interesting-error-with-fil... 

Avatar

Correct answer by
Level 2

Thanks @anupampat  for helping. Issue got resolved.

It is not about the filter root mapping. Filter root mapping are properly configured. Found a workaround for this issue to get fixed by disabling nodetype validation.
<jackrabbit-nodetypes>
<isDisabled>true</isDisabled>
</jackrabbit-nodetypes>
Adding this in ui.content/pom.xml file under <validatorsSettings> fixed the plugin issue and build also getting success.

Avatar

Level 2