[
https://issues.apache.org/jira/browse/SOLR-9079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15274688#comment-15274688
]
Erick Erickson commented on SOLR-9079:
--------------------------------------
+a lot, I hadn't thought sideways at the problem.
The argument that "some other dependency includes it so we might as well use
it" is not something I can subscribe to., it just means those other projects
should see if they can get rid of those dependencies too ;)
Smart-aleckness aside, I think there are very sound reasons to remove
dependencies if we can. The point of third-party dependencies it to reduce the
work developers need to do. Including a dependency requires ongoing work to
maintain it (witness this discussion and Shawn's efforts to see about
upgrading). So moving from some dependency to core Java seems like a total win
to me.
Of course "It Depends"(tm) on how much effort it would take to remove the
dependencies.....
> Upgrade commons-lang to version 3.x
> -----------------------------------
>
> Key: SOLR-9079
> URL: https://issues.apache.org/jira/browse/SOLR-9079
> Project: Solr
> Issue Type: Wish
> Reporter: Christine Poerschke
> Priority: Minor
>
> Current version used is [/commons-lang/commons-lang =
> 2.6|https://github.com/apache/lucene-solr/blob/master/lucene/ivy-versions.properties#L68]
> and a key motivation would be to have
> [commons.lang3|http://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/package-summary.html]
> APIs available e.g.
> [org.apache.commons.lang3.tuple.Pair|http://commons.apache.org/proper/commons-lang/apidocs/index.html?org/apache/commons/lang3/tuple/Pair.html]
> as an alternative to
> [org.apache.solr.common.util.Pair|https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/java/org/apache/solr/common/util/Pair.java]
> variant.
> [This|http://mail-archives.apache.org/mod_mbox/lucene-dev/201605.mbox/%[email protected]%3e]
> dev list posting reports on exploring use of 3.4 instead of 2.6 and
> concludes with the discovery of an optional zookeeper dependency on
> commons-lang-2.4 version.
> So upgrading commons-lang can't happen anytime soon but this ticket here to
> track motivations and findings so far for future reference.
> selected links into other relevant dev list threads:
> *
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201605.mbox/%3CA9C1B04B-EA67-4F2F-A9F3-B24A2AFB8598%40gmail.com%3E
> *
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201605.mbox/%3CCAN4YXvdSrZXDJk7VwuVzxDeqdocagS33Fx%2BstYD3yTx5--WXiA%40mail.gmail.com%3E
> *
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201605.mbox/%3CCAN4YXvdWmCDSzXV40-wz1sr766GSwONGFem7UutkdXnsy0%2BXrg%40mail.gmail.com%3E
> *
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201605.mbox/%[email protected]%3e
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]