Exclude does not work in filter
Let us say, my project structure in AEM server is as follows-
/apps/myproject/components/compA
/apps/myproject/components/compB
And my project structure in SVN is as follows -
/apps/myproject/components/compA
/apps/myproject/components/compB
/apps/myproject/components/compC
Now, I want that compC should not be installed while installing package, hence I've added filter in pom.xml -
<filter> <mode>update</mode> <root>/apps/myproject</root> <excludes> <exclude>/apps/myproject/components/compC(/.*)?</exclude> </excludes> </filter> But it does not work, after package installation compC also gets installed. Please let me know if what is missing here.