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

validate-package goal incorrectly assumes that all zip files inside packages are subpackages

    XMLWordPrintableJSON

Details

    Description

      In case the ValidationPackageMojo detects an entry in the ZIP file whose name is ending with .zip it assumes this is a subpackage (https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/047c2ee04916f4fb33de1f3ba6e191302e525553/src/main/java/org/apache/jackrabbit/filevault/maven/packaging/ValidatePackageMojo.java#L164) and later on fails with error

      Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.8:validate-package (default-validate-package) on project ...: Execution default-validate-package of goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.8:validate-package failed: Archive '.../mypackage.zip/jcr_root/content/mysite/test.zip' does not contain a filter.xml.
      

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              reusr1 Ruben Reusser
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: