Hi, Mike Pfaff (JIRA) schrieb:
URL: https://issues.apache.org/jira/browse/SLING-624 When using the following initial content configuration for the maven-bundle-plugin, only json files are ignored, but xml files are evaluated. The underlying problem is that ignoreImportProviders (which is part of a single Sling-Initial-Content entry) expects a comma-separated list and the Sling-Initial-Content expects a comma-separated list of entries.<Sling-Initial-Content> CQ-INF/content/apps/xyz/docroot;overwrite:=true;path:=/apps/xyz/docroot;ignoreImportProviders:=json,xml,
The comma is used to separate entries in the list of provided content. So this entry provides the CQ-INF/...xyz/docroot ignoring JSON and "xml" with default setup.
Have your tried putting the "json,xml" in double quotes, like this ? CQ-INF/...xyz/docroot;....;ignoreImportProviders:="json,xml", Regards Felix
CQ-INF/content/apps/xyz/components;overwrite:=true;path:=/apps/xyz/components, CQ-INF/content/apps/xyz/templates;overwrite:=true;path:=/apps/xyz/templates </Sling-Initial-Content>
