Stefan Seifert created JCRVLT-421:
-------------------------------------
Summary: filevault-package-maven-plugin 1.1.2: Empty nodes (used
for ordering only) outside filter lead to error
Key: JCRVLT-421
URL: https://issues.apache.org/jira/browse/JCRVLT-421
Project: Jackrabbit FileVault
Issue Type: Bug
Affects Versions: package-maven-plugin-1.1.2
Reporter: Stefan Seifert
if you download a package from a live repository with a sub path and the
instance has much more content in sibling paths the package usually contains
empty node references to the sister nodes to represent the node ordering.
with filevault-package-maven-plugin 1.1.2 those node references lead to
validation errors, failing the build.
to reproduce the problem build this sample project:
https://github.com/stefanseifert/filevault-package-maven-plugin-1.1.2-validation-issues/tree/master/content-packages/sample-content
{noformat}
[ERROR] ValidationViolation: "jackrabbit-filter: Node
'/content/dam/filevaultsample/jcr:content/folderThumbnail' is not contained in
any of the filter rules",
filePath=jcr_root\content\dam\filevaultsample\.content.xml,
nodePath=/content/dam/filevaultsample/jcr:content/folderThumbnail, line=11,
column=27
[INFO] ValidationViolation: "jackrabbit-filter: Ancestor node '/content/dam' is
not covered by any of the filter rules. Preferably depend on a package that
provides this node or include it in the filter rules!",
filePath=jcr_root\content\dam\.content.xml
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/rep:policy' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/rep:policy, line=5,
column=18
[INFO] ValidationViolation: "jackrabbit-filter: Ancestor node '/content/dam' is
not covered by any of the filter rules. Preferably depend on a package that
provides this node or include it in the filter rules!",
filePath=jcr_root\content\.content.xml, nodePath=/content/dam, line=6, column=11
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/campaigns' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/campaigns, line=7,
column=17
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/projects' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/projects, line=8,
column=16
[ERROR] ValidationViolation: "jackrabbit-filter: Node
'/content/experience-fragments' is not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/experience-fragments,
line=9, column=28
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/cq:tags' is not
contained in any of the filter rules", filePath=jcr_root\content\.content.xml,
nodePath=/content/cq:tags, line=10, column=15
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/usergenerated'
is not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/usergenerated,
line=11, column=21
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/launches' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/launches, line=12,
column=16
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/communities' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/communities, line=13,
column=19
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/sites' is not
contained in any of the filter rules", filePath=jcr_root\content\.content.xml,
nodePath=/content/sites, line=14, column=13
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/forms' is not
contained in any of the filter rules", filePath=jcr_root\content\.content.xml,
nodePath=/content/forms, line=15, column=13
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/catalogs' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/catalogs, line=16,
column=16
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/screens' is not
contained in any of the filter rules", filePath=jcr_root\content\.content.xml,
nodePath=/content/screens, line=17, column=15
[ERROR] ValidationViolation: "jackrabbit-filter: Node '/content/community' is
not contained in any of the filter rules",
filePath=jcr_root\content\.content.xml, nodePath=/content/community, line=18,
column=17
[INFO] ValidationViolation: "jackrabbit-filter: Ancestor node '/content' is not
covered by any of the filter rules but that node is a given root (either by a
dependency or by the known roots). Remove that node!",
filePath=jcr_root\content\.content.xml
[INFO] ValidationViolation: "jackrabbit-filter: Ancestor node '/' is not
covered by any of the filter rules but that node is a given root (either by a
dependency or by the known roots). Remove that node!",
filePath=jcr_root\.content.xml
{noformat}
the "[ERROR]" should not occur in this case and did not occur with version
1.1.0 of the plugin
--
This message was sent by Atlassian Jira
(v8.3.4#803005)