lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-4462) SolrJ's httpclient and httpcore dependency versions should not be synchronized - instead, the httpcore version to use should be drawn from the httpclient POM
Date Fri, 15 Feb 2013 18:35:13 GMT

     [ https://issues.apache.org/jira/browse/SOLR-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Rowe updated SOLR-4462:
-----------------------------

    Description: 
The httpcomponents project, which hosts both the httpclient and the httpcore modules, uses
Maven as its build system, so when the httpclient POM declares a dependency, it's authoritative
(since that's how httpclient is built and tested).

httpclient's httpcore dependency version doesn't always match the httpclient version.  Recent
examples (look for {{<httpcore.version>}} under {{<properties>}}) (these are POMs
for httpcomponents-client, which is the parent module for httpclient, and declares its submodules'
dependencies' versions):

[https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.2.3/pom.xml]
[http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.3/pom.xml]
[http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1/pom.xml]

I'm fairly certain that these versions-out-of-sync incidents are not mistakes - I read this
email exchange as describing intentionally versioning httpclient separately from httpcore:
[http://markmail.org/thread/ippp4gbxwwnt6aws].

SolrJ should separately version its httpclient and httpcore dependencies, and should draw
the httpcore version from the httpcomponents-client POM.

  was:
The httpcomponents project, which hosts both the httpclient and the httpcore modules, uses
Maven as its build system, so when the httpclient POM declares a dependency, it's authoritative
(since that's how httpclient is built and tested).  httpclient depends on httpcore, so the
SolrJ httpcore version should be drawn from the httpclient POM.

httpclient's httpcore dependency version doesn't always match the httpclient version.  Recent
examples (look for {{<httpcore.version>}} under {{<properties>}}):

[https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.2.3/pom.xml]
[http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.3/pom.xml]
[http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1/pom.xml]

I'm fairly certain that these versions-out-of-sync incidents are not mistakes - I read this
email exchange as describing intentionally versioning httpclient separately from httpcore:
[http://markmail.org/thread/ippp4gbxwwnt6aws].

SolrJ should separately version its httpclient and httpcore dependencies, and should draw
the httpcore version from the httpclient POM.

    
> SolrJ's httpclient and httpcore dependency versions should not be synchronized - instead,
the httpcore version to use should be drawn from the httpclient POM
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4462
>                 URL: https://issues.apache.org/jira/browse/SOLR-4462
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.0, 4.1
>            Reporter: Steve Rowe
>            Priority: Minor
>         Attachments: SOLR-4462.patch
>
>
> The httpcomponents project, which hosts both the httpclient and the httpcore modules,
uses Maven as its build system, so when the httpclient POM declares a dependency, it's authoritative
(since that's how httpclient is built and tested).
> httpclient's httpcore dependency version doesn't always match the httpclient version.
 Recent examples (look for {{<httpcore.version>}} under {{<properties>}}) (these
are POMs for httpcomponents-client, which is the parent module for httpclient, and declares
its submodules' dependencies' versions):
> [https://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.2.3/pom.xml]
> [http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.3/pom.xml]
> [http://svn.apache.org/repos/asf/httpcomponents/httpclient/tags/4.1.1/pom.xml]
> I'm fairly certain that these versions-out-of-sync incidents are not mistakes - I read
this email exchange as describing intentionally versioning httpclient separately from httpcore:
[http://markmail.org/thread/ippp4gbxwwnt6aws].
> SolrJ should separately version its httpclient and httpcore dependencies, and should
draw the httpcore version from the httpcomponents-client POM.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message