Stefan Seifert created JCRVLT-528:
-------------------------------------
Summary: filevault-package-maven-plugin:validate-files reports
errors validate-package does not
Key: JCRVLT-528
URL: https://issues.apache.org/jira/browse/JCRVLT-528
Project: Jackrabbit FileVault
Issue Type: Bug
Components: package maven plugin
Affects Versions: package-maven-plugin-1.1.6
Reporter: Stefan Seifert
scenario: use content package sample project
https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/conf-content
and execute {{mvn clean verify}} (which calls validate-package goal) - all is
well, package validation completes successfully.
now execute on the same project with {{mvn clean test}} (which calls
validate-files goal) - this time the validation fails with:
{noformat}
[ERROR] ValidationViolation: "jackrabbit-nodetypes: Property
'sling:resourceType' [String] is not allowed in node with potential default
types [nt:folder]: No applicable property definition found for name and type!",
filePath=jcr_root\conf\filevaultsample\settings\.content.xml,
nodePath=/conf/filevaultsample/settings, line=4, column=40
{noformat}
why this? it's the same package and the same validators configuration.
furthermore, the package content is downloaded from package manager and not
created manually, so it should be consistent.
same problem can be reproduced with more validation differences with:
https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/sample-content
--
This message was sent by Atlassian Jira
(v8.3.4#803005)