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

False warnings for files not being included in the package due to being outside of filter roots

    XMLWordPrintableJSON

Details

    Description

      the new check introduced in JCRVLT-321 produces false warnings in my case - or i do not understand why the warning occurs.

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

      i can understand these warnings

      [WARNING] File content-packages\sample-content\jcr_root\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      

      although it's a pity they are reported because usually these .content.xml files "above" the filter paths help creating in between nodes when the package is extracted and the parent paths of the filter do not exist yet.

      but i do not understand these warnings as the files are definitely included in the filter:

      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\chicago.jpg\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\chicago.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\chicago.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\chicago.jpg\_jcr_content\renditions\original not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\chicago.jpg\_jcr_content\renditions\original.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\nature.jpg\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\nature.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\nature.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\nature.jpg\_jcr_content\renditions\original not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\nature.jpg\_jcr_content\renditions\original.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\prague.jpg\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\prague.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\prague.jpg\_jcr_content\renditions\cq5dam.web.1280.1280.jpeg.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\prague.jpg\_jcr_content\renditions\original not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\dam\myproject1\prague.jpg\_jcr_content\renditions\original.dir\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\myproject1\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      [WARNING] File content-packages\sample-content\jcr_root\content\myproject1\en\.content.xml not covered by a filter rule and therefore not contained in the resulting package
      

      Attachments

        1. 101105_build.log
          16 kB
          Stefan Seifert
        2. JCRVLT-354-normalize-windows-paths.patch
          1 kB
          Stefan Seifert

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: