You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/06/09 18:54:00 UTC

[jira] [Updated] (JCRVLT-528) filevault-package-maven-plugin:validate-files reports errors validate-package does not

     [ https://issues.apache.org/jira/browse/JCRVLT-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus updated JCRVLT-528:
-----------------------------------
    Fix Version/s: package-maven-plugin-1.1.10

> 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
>            Assignee: Konrad Windszus
>            Priority: Minor
>             Fix For: package-maven-plugin-1.1.10
>
>
> 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)