Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-556

jackrabbit-packagetype validator wrongly complains about OSGI configurations in tools/config path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.4
    • 3.5.4
    • validation
    • None

    Description

      scenario: content package project
      https://github.com/stefanseifert/filevault-package-maven-plugin-validation-issues/tree/master/content-packages/sample-content

      compile package with filevault-package-maven-plugin 1.1.9-SNAPSHOT using filevault 3.5.2

      validation fails with:

      [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'CONTENT' is not supposed to contain OSGi bundles or configurations!", filePath=jcr_root\content\filevaultsample\en\tools\config\.content.xml, nodePath=/content/filevaultsample/en/tools/config, line=3
      [ERROR] ValidationViolation: "jackrabbit-packagetype: Package of type 'CONTENT' is not supposed to contain OSGi bundles or configurations!", filePath=jcr_root\content\filevaultsample\en\tools\config\.content.xml, nodePath=/content/filevaultsample/en/tools/config/jcr:content, line=8
      

      but this is wrong, as the folder does not contain any OSGi configurations or bundle. it simply has the name /config - but this surely is not enough to "prove" it's illegal in a CONTENT package? any CMS user may create a path with a name like this.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: