jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-6880) Build fails on a fresh m2 repo
Date Thu, 07 Dec 2017 11:00:06 GMT

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

Julian Reschke commented on OAK-6880:
-------------------------------------

bq. I suspect that the ones that are able to make this work use a Maven repository mirror
(Nexus/Artifactory) that has already cached the restlet jars. The litmus test would be building
with an empty .m2/repository folder and without a settings.xml file.

FWIW, I already tried that, and I get the restlet artefacts:

- no settings.xml
- empty M2 repo

Build reports:
{noformat}
Downloading from central: https://repo.maven.apache.org/maven2/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.pom
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet\2.1.1\org.restlet-2.1.1.pom.lastUpdated
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.restlet.org
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.restlet.org
Downloading from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.pom
Progress (1): org.restlet-2.1.1.pom (614 B)
                                           
Downloaded from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet/2.1.1/org.restlet-2.1.1.pom
(614 B at 405 B/s)
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet\2.1.1\_remote.repositories
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet\2.1.1\org.restlet-2.1.1.pom.lastUpdated
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
Downloading from central: https://repo.maven.apache.org/maven2/org/restlet/jee/org.restlet.parent/2.1.1/org.restlet.parent-2.1.1.pom
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.parent\2.1.1\org.restlet.parent-2.1.1.pom.lastUpdated
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.restlet.org
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.restlet.org
Downloading from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet.parent/2.1.1/org.restlet.parent-2.1.1.pom
Progress (1): org.restlet.parent-2.1.1.pom (1.0/8.2 kB)
Progress (1): org.restlet.parent-2.1.1.pom (2.4/8.2 kB)
Progress (1): org.restlet.parent-2.1.1.pom (5.3/8.2 kB)
Progress (1): org.restlet.parent-2.1.1.pom (6.8/8.2 kB)
Progress (1): org.restlet.parent-2.1.1.pom (8.2 kB)    
                                                   
Downloaded from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet.parent/2.1.1/org.restlet.parent-2.1.1.pom
(8.2 kB at 8.5 kB/s)
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.parent\2.1.1\_remote.repositories
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.parent\2.1.1\org.restlet.parent-2.1.1.pom.lastUpdated
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.maven.apache.org/maven2
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.maven.apache.org/maven2
Downloading from central: https://repo.maven.apache.org/maven2/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.pom
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.pom.lastUpdated
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://maven.restlet.org
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://maven.restlet.org
Downloading from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.pom
Progress (1): org.restlet.ext.servlet-2.1.1.pom (907 B)
                                                       
Downloaded from maven-restlet: http://maven.restlet.org/org/restlet/jee/org.restlet.ext.servlet/2.1.1/org.restlet.ext.servlet-2.1.1.pom
(907 B at 990 B/s)
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.ext.servlet\2.1.1\_remote.repositories
[DEBUG] Writing tracking file C:\Users\jre\.m2\repository\org\restlet\jee\org.restlet.ext.servlet\2.1.1\org.restlet.ext.servlet-2.1.1.pom.lastUpdated
{noformat}

If this didn't work, how would our Jenkins jobs get the build done?


> 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
>    Affects Versions: 1.8
>            Reporter: Christian Schneider
>
> 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
(v6.4.14#64029)

Mime
View raw message