You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2023/11/16 12:57:00 UTC

[jira] [Comment Edited] (JCR-4627) jackrabbit-it-osgi: pax-exam fails to load artefacts from maven central

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

Julian Reschke edited comment on JCR-4627 at 11/16/23 12:56 PM:
----------------------------------------------------------------

We probably need to update the dependency at some point; in the meantime, specifying

{{-Dorg.ops4j.pax.url.mvn.repositories="https://repo1.maven.org/maven2@id=central"}}

on the mvn command line seems to help.

See also: https://github.com/Islandora/documentation/issues/1443


was (Author: reschke):
We probably need to update the dependency at some point; in the meantime, specifying

-Dorg.ops4j.pax.url.mvn.repositories="https://repo1.maven.org/maven2@id=central"

on the mvn command line seems to help.

See also: https://github.com/Islandora/documentation/issues/1443

> jackrabbit-it-osgi: pax-exam fails to load artefacts from maven central
> -----------------------------------------------------------------------
>
>                 Key: JCR-4627
>                 URL: https://issues.apache.org/jira/browse/JCR-4627
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-it-osgi
>            Reporter: Julian Reschke
>            Assignee: Manfred Baedke
>            Priority: Minor
>
> As seen in:
> [ERROR] org.apache.jackrabbit.oak.osgi.OSGiIT  Time elapsed: 6.219 s  <<< ERROR!
> org.ops4j.pax.exam.TestContainerException: [link:classpath:META-INF/links/org.ops4j.pax.exam.inject.link] could not be downloaded
> Caused by: java.io.IOException: Error resolving artifact org.ops4j.pax.exam:pax-exam-inject:jar:3.4.0: Could not transfer artifact org.ops4j.pax.exam:pax-exam-inject:jar:3.4.0 from/to central (http://repo1.maven.org/maven2/): Error transferring file: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/ops4j/pax/exam/pax-exam-inject/3.4.0/pax-exam-inject-3.4.0.jar



--
This message was sent by Atlassian Jira
(v8.20.10#820010)