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

Robert Munteanu commented on OAK-6880:
--------------------------------------

{code}$ grep -ce repository solr-parent-5.5.5.pom
0
$ cat solr-parent-5.5.5.pom.sha1 
aa3b35c3527c2a846d40f4c292d82e8a3ae0d5b7
{code}

Using that SHA1 for a Maven central returns 0 hits: 
https://search.maven.org/search?q=1:aa3b35c3527c2a846d40f4c292d82e8a3ae0d5b7 . 
Searching for another artifact by SHA works, so the search is correct: 
https://search.maven.org/search?q=1:bba42037edb3c62f62900812e62b66eca2c61d4b .

I have the 'broken' artifact locally as well but not sure where it's coming 
from. I checked the Adobe artifactory instance but only found the 'vanilla' 
solr-parent-5.5.5.pom, cached from Maven central.

BTW, this is precisely why I dislike managing {{<repository>}} elements in the 
project pom.xml .

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

Reply via email to