how do exclude/include content on filter.xml?
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.
- I can see the 2 paths I've excluded have been included.
- I can see that root path I did not include in filter.xml have been included. The root path of the content that has been included is /content/myhost/portals.
Any ideas what I'm doing wrong?