[jira] [Commented] (SLING-9085) Integration tests fail to download from Maven Central, https required

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SLING-9085) Integration tests fail to download from Maven Central, https required

Oliver Lietz (Jira)

    [ https://issues.apache.org/jira/browse/SLING-9085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17041762#comment-17041762 ]

Konrad Windszus commented on SLING-9085:
----------------------------------------

A better fix is coming with https://issues.apache.org/jira/browse/SLING-9111.

> Integration tests fail to download from Maven Central, https required
> ---------------------------------------------------------------------
>
>                 Key: SLING-9085
>                 URL: https://issues.apache.org/jira/browse/SLING-9085
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.18
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Repoinit JCR 1.1.20
>
>         Attachments: sling-org-apache-sling-jcr-repoinit.patch
>
>
> 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
> {code}
> mvn dependency:get -DgroupId=org.apache.sling -DartifactId=org.apache.sling.scripting.core -Dversion=2.0.56
> {code}
> [1] https://github.com/apache/sling-org-apache-sling-servlets-resolver/blob/master/src/test/java/org/apache/sling/servlets/resolver/it/ServletResolverTestSupport.java



--
This message was sent by Atlassian Jira
(v8.3.4#803005)