[
https://issues.apache.org/jira/browse/SOLR-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239020#comment-13239020
]
Steven Rowe commented on SOLR-2020:
-----------------------------------
Sami,
Solrj compilation fails under Maven: see [today's Jenkins Maven 3.x
build|https://builds.apache.org/job/Lucene-Solr-Maven-3.x/438/].
I've committed the following changes - tests now succeed for me locally under
the Maven build:
* Switched the scope from runtime to compile for the two {{httpcomponents}}
dependencies in the {{solrj}} POM - compilation fails unless these are on the
classpath.
* Removed {{commons-httpclient}} dependency from the {{solr-core}} POM. It
gets this dependency transitively through {{solrj}}.
* Added the two {{httpcomponents}} dependencies with test scope to the POM for
{{solr-core}} (under which all Solr tests are run in the Maven build, including
those of {{solrj}}); otherwise tests fail, because these are *optional*
dependencies of {{solrj}}, and are not transitively included on the test
classpath.
* Added a {{httpcomponents.version}} property to the Lucene/Solr grandparent
POM, and used it in the {{<dependencyManagement>}} declarations for the two
{{httpcomponents}} dependencies.
> HttpComponentsSolrServer
> ------------------------
>
> Key: SOLR-2020
> URL: https://issues.apache.org/jira/browse/SOLR-2020
> Project: Solr
> Issue Type: New Feature
> Components: clients - java
> Affects Versions: 1.4.1
> Environment: Any
> Reporter: Chantal Ackermann
> Priority: Minor
> Fix For: 4.0
>
> Attachments: HttpComponentsSolrServer.java,
> HttpComponentsSolrServerTest.java, SOLR-2020-3x.patch,
> SOLR-2020-HttpSolrServer.patch, SOLR-2020.patch, SOLR-2020.patch,
> SOLR-2020.patch, SOLR-2020.patch
>
>
> Implementation of SolrServer that uses the Apache Http Components framework.
> Http Components (http://hc.apache.org/) is the successor of Commons
> HttpClient and thus HttpComponentsSolrServer would be a successor of
> CommonsHttpSolrServer, in the future.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]