[
https://issues.apache.org/jira/browse/OAK-6880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16812571#comment-16812571
]
Robert Munteanu commented on OAK-6880:
--------------------------------------
... ( I seem to be live-streaming this, sorry ).
I discovered that when trying to access the solr-parent artifact from the
Artifactory UI, the pom.xml is passed through unchanged from Central.
_However_, when accessing through the virtual repository that I have configured
for development the pom is rewritten.
Therefore I think that the solution to add the repository reference to Oak is
the wrong one and suggest to roll back that change. Instead, we should make
sure that we use the right solr parent pom.
Thoughts [~edivad]?
> Build fails on a fresh m2 repo
> ------------------------------
>
> Key: OAK-6880
> URL: https://issues.apache.org/jira/browse/OAK-6880
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: parent
> Reporter: Christian Schneider
> Assignee: Julian Reschke
> Priority: Major
>
> When I build from a fresh m2 repo with no special settings.xml I get this
> failure:
> {noformat}
> [ERROR] Failed to execute goal on project oak-solr-core: Could not resolve
> dependencies for project
> org.apache.jackrabbit:oak-solr-core:bundle:1.8-SNAPSHOT: The following
> artifacts could not be resolved: org.restlet.jee:org.restlet:jar:2.1.1,
> org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1: Failure to find
> org.restlet.jee:org.restlet:jar:2.1.1 in https://repo.maven.apache.org/maven2
> was cached in the local repository, resolution will not be reattempted until
> the update interval of central has elapsed or updates are forced -> [Help 1]
> {noformat}
> It seems the restlet jars are only in the restlet maven repo.
> I will provide a PR.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)