Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9085

Integration tests fail to download from Maven Central, https required

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Repoinit JCR 1.1.18
    • Repoinit JCR 1.1.20
    • Repoinit
    • None

    Description

      The JCR repoinit integration tests fail if they need to download anything from Maven Central, this needs to be fixed, for example in a similar way to [1].

      The workaround is to download the missing dependencies to the local Maven repository before running the tests, like

      mvn dependency:get -DgroupId=org.apache.sling -DartifactId=org.apache.sling.scripting.core -Dversion=2.0.56
      

      [1] https://github.com/apache/sling-org-apache-sling-servlets-resolver/blob/master/src/test/java/org/apache/sling/servlets/resolver/it/ServletResolverTestSupport.java

      Attachments

        Issue Links

          Activity

            People

              bdelacretaz Bertrand Delacretaz
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: