EDIT: I am trying to create the zip/package using mvn clean install.
might be best explained with an example
so I have the following filter.xml
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/content/experience-fragments/myhost">
<exclude pattern="/content/experience-fragments/myhost/components/showcase/dual"/>
<exclude pattern="/content/experience-fragments/myhost/components/balance-history/master"/>
</filter>
</workspaceFilter>
after running
mvn clean install
I get a package in ui.content/target. I opened this package using my favorite archiver app (in my case, I was using winrar). And I noticed 2 errors.
Any ideas what I'm doing wrong?
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @jayv25585659
The exclude/include configs are patterns. Could you possibly update the configs to regex and try?
<workspaceFilter version="1.0">
<filter root="/content/experience-fragments/myhost">
<exclude pattern="/content/experience-fragments/myhost/components/showcase/dual(/.*)?"/>
<exclude pattern="/content/experience-fragments/myhost/components/balance-history/master(/.*)?"/>
</filter>
</workspaceFilter>
I don't see any reason why a path like "/content/myhost/portals" would be included.
- Could you possibly delete the package from target folder?
- Assure you are updating the corresponding filter.xml
- Execute "mvn clean install"
- Validate the newly generated package
It should work. Please make sure you're updating ui.content filters.
Please check reference.
https://jackrabbit.apache.org/filevault/filter.html
definitely updating/editing ui.content filter.xml.
Hello @jayv25585659
The exclude/include configs are patterns. Could you possibly update the configs to regex and try?
<workspaceFilter version="1.0">
<filter root="/content/experience-fragments/myhost">
<exclude pattern="/content/experience-fragments/myhost/components/showcase/dual(/.*)?"/>
<exclude pattern="/content/experience-fragments/myhost/components/balance-history/master(/.*)?"/>
</filter>
</workspaceFilter>
I don't see any reason why a path like "/content/myhost/portals" would be included.
- Could you possibly delete the package from target folder?
- Assure you are updating the corresponding filter.xml
- Execute "mvn clean install"
- Validate the newly generated package
Check https://jackrabbit.apache.org/filevault/filter.html to exclude/include paths in filter.xml in META-INF/vault.
Views
Likes
Replies
Views
Likes
Replies