Hi all,
according to the doc, the content-package-maven-plugin has a new feature "mode" which sounds extremely helpful.
However, when I use it, it's not working as expected.
Does anybody have experience with this?
The META-INF/vault/filter.xml generated by the maven plugin looks ok:
<?xml version="1.0" encoding="UTF-8"?> <workspaceFilter version="1.0"> <filter root="/apps/dummy/dummyMerge" mode="merge"> <include pattern="/apps/dummy/dummyMerge(/.*)" /> </filter> <filter root="/apps/dummy/dummyReplace"> <include pattern="/apps/dummy/dummyReplace(/.*)" /> </filter> <filter root="/apps/dummy/dummyUpdate" mode="update"> <include pattern="/apps/dummy/dummyUpdate(/.*)" /> </filter> </workspaceFilter>
However, when installed, the following things are not the way I'd expect them:
- update and replace behave identically: when I delete a file or a property, mode "update" deltes this from the repo
- merge addes new files to the repo, but if I add a subnode or a property (e.g. in a dialog), this is not added to the repo
Has anyone used this successfully?
thanks,
Ben
btw: I'm using CQ5.6.1 with content-package-maven-plugin 0.0.20