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

DefaultProjectTest.package_contains_correct_files fails with incorrect order of files below META-INF/vault

    XMLWordPrintableJSON

Details

    Description

      For me the IT at https://github.com/apache/jackrabbit-filevault-package-maven-plugin/blob/trunk/it/src/test/java/org/apache/jackrabbit/filevault/maven/packaging/DefaultProjectTest.java#L65 fails with the following error message:

      Running org.apache.jackrabbit.filevault.maven.packaging.DefaultProjectTest
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.442 sec <<< FAILURE! - in org.apache.jackrabbit.filevault.maven.packaging.DefaultProjectTest
      package_contains_correct_files(org.apache.jackrabbit.filevault.maven.packaging.DefaultProjectTest)  Time elapsed: 2.442 sec  <<< FAILURE!
      org.junit.ComparisonFailure: 
      File List expected:<...ult/
      META-INF/vault/[config.xml
      META-INF/vault/filter.xml
      META-INF/vault/properties.xml
      META-INF/vault/settings.xml
      jcr_root/
      jcr_root/apps/
      jcr_root/apps/wcm/
      jcr_root/apps/wcm/core/
      jcr_root/apps/wcm/core/content/
      jcr_root/apps/wcm/core/content/.content.xml
      jcr_root/apps/wcm/core/content/siteadmin.xml
      jcr_root/_rep_policy.xml
      jcr_root/etc/
      jcr_root/etc/designs/
      jcr_root/etc/designs/some-thirdparty-libs/
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/
      jcr_root/etc/designs/some-thirdparty-libs/.content.xml
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/.content.xml
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/js.txt
      jcr_root/etc/cloudservices/
      jcr_root/etc/cloudservices/ooyala/
      jcr_root/etc/cloudservices/ooyala/.content.xml
      jcr_root/etc/cloudservices/.content.xml
      jcr_root/apps/wcm/.content.xml
      jcr_root/apps/wcm/core]/.content.xml
      META-I...> but was:<...ult/
      META-INF/vault/[settings.xml
      META-INF/vault/properties.xml
      META-INF/vault/config.xml
      META-INF/vault/filter.xml
      jcr_root/
      jcr_root/apps/
      jcr_root/apps/wcm/
      jcr_root/apps/wcm/core/
      jcr_root/apps/wcm/core/content/
      jcr_root/apps/wcm/core/content/.content.xml
      jcr_root/apps/wcm/core/content/siteadmin.xml
      jcr_root/_rep_policy.xml
      jcr_root/etc/
      jcr_root/etc/designs/
      jcr_root/etc/designs/some-thirdparty-libs/
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/js.txt
      jcr_root/etc/designs/some-thirdparty-libs/clientlibs/thirdparty-common/.content.xml
      jcr_root/etc/designs/some-thirdparty-libs/.content.xml
      jcr_root/etc/cloudservices/
      jcr_root/etc/cloudservices/ooyala/
      jcr_root/etc/cloudservices/ooyala/.content.xml
      jcr_root/etc/cloudservices/.content.xml
      jcr_root/apps/wcm/core/.content.xml
      jcr_root/apps/wcm]/.content.xml
      META-I...>
      	at org.apache.jackrabbit.filevault.maven.packaging.DefaultProjectTest.package_contains_correct_files(DefaultProjectTest.java:65)
      

      All other ITs succeed.

      My Maven data is as follows:

      Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-03T21:39:06+02:00)
      Maven home: /usr/local/Cellar/maven/3.5.0/libexec
      Java version: 1.8.0_144, vendor: Oracle Corporation
      Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre
      Default locale: en_US, platform encoding: UTF-8
      OS name: "mac os x", version: "10.13", arch: "x86_64", family: "mac"
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: