lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <>
Subject [jira] [Commented] (SOLR-3411) Solrj doesn't have correct dependencies in pom
Date Thu, 26 Apr 2012 21:40:49 GMT


Ryan McKinley commented on SOLR-3411:

3.x is in a middle ground -- it includes two versions of the HTTP SolrServer one using httpclient
and the other commons-http.  in 4.x the commons-http version will get dropped.

> Solrj doesn't have correct dependencies in pom
> ----------------------------------------------
>                 Key: SOLR-3411
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 3.6
>            Reporter: Richard Frovarp
>            Assignee: Steven Rowe
> The the released pom for solrj 3.6.0 doesn't include the require dependency to httpclient
4.1.3. If I look to the grandparent, I can see that it is dependency managed, but it does
appear as an actual dependency. When trying to use org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrServer,
one gets a compile error:
> class file for org.apache.http.client.HttpClient not found
>        solr = new ConcurrentUpdateSolrServer("http://localhost:8983/solr", QUEUE_SIZE,
> Putting the dependency in fixes the problem, but that isn't something the developer should
have to do.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message