You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/10/27 15:47:00 UTC

[jira] [Commented] (OAK-6880) Build fails on a fresh m2 repo

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

Christian Schneider commented on OAK-6880:
------------------------------------------

To reproduce remove the restlet jars from .m2/repository and make sure your settings.xml does not contain any additional external repo.
Then build with
mvn clean install -Pfast
The build should fail.
After applying the PR the build should work again. I am not sure why the automatic builds do not catch this.

> 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
>             Fix For: 1.8
>
>
> When I build from a fresh m2 repo with no special settings.xml I get this failure:
> [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]
> 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)