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

Bertrand Delacretaz commented on SLING-9085:
--------------------------------------------

bq. Can't this be globally fixed...

Yes, good idea we should do that - I won't have time right now however.

As mentioned above, note that multiple {{repository}} options to not work 
correctly due to Pax adding a {{+}} sign in front of each one, while only the 
first one needs it.

> 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
>
>
> 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)

Reply via email to