If you feel strongly that Solr needs to keep up the Maven bits
up to date, you can volunteer to help maintain it, Solr is
open source after all.


> On Jul 3, 2020, at 12:08 AM, Ali Akhtar <ali@ali.actor> wrote:
> 
> I had to add an additional repository to get the failing dependency to
> resolve:
> 
> resolvers += "Spring Plugins Repository" at "
> https://repo.spring.io/plugins-release/";
> 
>> However, we do not officially support Maven builds,
> 
> Um, why? This is a java based project, and maven is the de-facto standard
> for Java. What if someone wanted to make use of any of Solr's java
> libraries in their own JVM based project? There's no (clean) way to do it
> other than adding it as a maven dependency and importing the class into
> their code.
> 
> 
> On Thu, Jul 2, 2020 at 6:07 PM Mike Drob <md...@apache.org> wrote:
> 
>> Does it fail similarly on 8.5.0 and .1?
>> 
>> On Thu, Jul 2, 2020 at 6:38 AM Erick Erickson <erickerick...@gmail.com>
>> wrote:
>> 
>>> There have been some issues with Maven, see:
>>> https://issues.apache.org/jira/browse/LUCENE-9170
>>> 
>>> However, we do not officially support Maven builds, they’re there as a
>>> convenience, so there may still
>>> be issues in future.
>>> 
>>>> On Jul 2, 2020, at 1:27 AM, Ali Akhtar <ali@ali.actor> wrote:
>>>> 
>>>> If I try adding solr-core to an existing project, e.g (SBT):
>>>> 
>>>> libraryDependencies += "org.apache.solr" % "solr-core" % "8.5.2"
>>>> 
>>>> It fails due a 404 on the dependencies:
>>>> 
>>>> Extracting structure failed
>>>> stack trace is suppressed; run last update for the full output
>>>> stack trace is suppressed; run last ssExtractDependencies for the full
>>>> output
>>>> (update) sbt.librarymanagement.ResolveException: Error downloading
>>>> org.restlet.jee:org.restlet:2.4.0
>>>> Not found
>>>> Not found
>>>> not found:
>>>> /home/ali/.ivy2/local/org.restlet.jee/org.restlet/2.4.0/ivys/ivy.xml
>>>> not found:
>>>> 
>>> 
>> https://repo1.maven.org/maven2/org/restlet/jee/org.restlet/2.4.0/org.restlet-2.4.0.pom
>>>> Error downloading org.restlet.jee:org.restlet.ext.servlet:2.4.0
>>>> Not found
>>>> Not found
>>>> not found:
>>>> 
>>> 
>> /home/ali/.ivy2/local/org.restlet.jee/org.restlet.ext.servlet/2.4.0/ivys/ivy.xml
>>>> not found:
>>>> 
>>> 
>> https://repo1.maven.org/maven2/org/restlet/jee/org.restlet.ext.servlet/2.4.0/org.restlet.ext.servlet-2.4.0.pom
>>>> (ssExtractDependencies) sbt.librarymanagement.ResolveException: Error
>>>> downloading org.restlet.jee:org.restlet:2.4.0
>>>> Not found
>>>> Not found
>>>> not found:
>>>> /home/ali/.ivy2/local/org.restlet.jee/org.restlet/2.4.0/ivys/ivy.xml
>>>> not found:
>>>> 
>>> 
>> https://repo1.maven.org/maven2/org/restlet/jee/org.restlet/2.4.0/org.restlet-2.4.0.pom
>>>> Error downloading org.restlet.jee:org.restlet.ext.servlet:2.4.0
>>>> Not found
>>>> Not found
>>>> not found:
>>>> 
>>> 
>> /home/ali/.ivy2/local/org.restlet.jee/org.restlet.ext.servlet/2.4.0/ivys/ivy.xml
>>>> not found:
>>>> 
>>> 
>> https://repo1.maven.org/maven2/org/restlet/jee/org.restlet.ext.servlet/2.4.0/org.restlet.ext.servlet-2.4.0.pom
>>>> 
>>>> 
>>>> 
>>>> Any ideas? Do I need to add a specific repository to get it to compile?
>>> 
>>> 
>> 

Reply via email to