Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1921

Solr 4.4 has dependency on non Maven Central repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Volunteer Needed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0, 4.1
    • Fix Version/s: None
    • Component/s: Solr
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      5
    • Documentation Status:
      Not Required

      Description

      In Apache Solr 4.2, Solr added a dependency on Restlet framework (http://restlet.org/), which unfortunately is not available in Maven Central, and is only available in http://maven.restlet.org/

      https://issues.apache.org/jira/browse/SOLR-4503?focusedCommentId=13586264&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13586264

      More info in this thread:
      http://markmail.org/message/4wb2tf7rfav7d3jt#query:+page:1+mid:tketexmmrsdsxy2o+state:results

      In DSpace 4.0, we upgraded to Apache Solr 4.4.0 (see DS-1623) which also has this issue.

      As of now, Restlet is still not available in Maven Central. However, they seem to have plans to release to Maven Central in the near future:
      https://github.com/restlet/restlet-framework-java/issues/481

      Currently, this is not a major issues, but this transitive dependency on http://maven.restlet.org can cause "random" dspace-solr build errors to occur if that third-party maven repository is not available or non-responsive at the time of building DSpace. This 'dspace-solr' build error looks like:

      [ERROR] Failed to execute goal on project dspace-solr: Could not resolve dependencies for project org.dspace:dspace-solr:war:5.0-SNAPSHOT: Failed to collect dependencies at org.apache.solr:solr-core:jar:4.4.0 -> org.restlet.jee:org.restlet:jar:2.1.1: Failed to read artifact descriptor for org.restlet.jee:org.restlet:jar:2.1.1: Could not transfer artifact org.restlet.jee:org.restlet:pom:2.1.1 from/to maven-restlet (http://maven.restlet.org): Connection to http://maven.restlet.org refused: Connection refused -> [Help 1]

      This ticket is just noting that we have a known issue with a transitive dependency in Solr 4.4.0. Hopefully it gets resolved by Restlet and Solr very soon, and we can upgrade our Solr dependencies as well. For the time being, if you encounter the above error, try to build DSpace again.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mwood Mark H. Wood
              Reporter:
              tdonohue Tim Donohue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated: