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

Filter entries which are not covering anything may lead to the root's .content.xml being copied to the entry root

    XMLWordPrintableJSON

Details

    Description

      There is bug when adding ancestors.
      In case a filter entry does not cover anything you end up in branch https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/1e6bcda0a9c8f6aa8e16d01523c348cfb805c80c/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/VaultMojo.java#L508 which willl modify the variable sourceFile until you hit the root. Even in case nothing has been added for this filter the root .content.xml will still be copied to the wrong destination (as variable destFile) is still the same.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: