You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (Jira)" <ji...@apache.org> on 2020/02/18 14:25:00 UTC
[jira] [Created] (SLING-9085) Integration tests fail to download
from Maven Central, https required
Bertrand Delacretaz created SLING-9085:
------------------------------------------
Summary: Integration tests fail to download from Maven Central, https requi2ed
Key: SLING-9085
URL: https://issues.apache.org/jira/browse/SLING-9085
Project: Sling
Issue Type: Bug
Components: Repoinit
Reporter: Bertrand Delacretaz
Assignee: Bertrand Delacretaz
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)