[
https://issues.apache.org/jira/browse/SOLR-9079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796278#comment-16796278
]
Kevin Risden edited comment on SOLR-9079 at 3/19/19 4:57 PM:
-------------------------------------------------------------
* velocity-tools 2.0 has an optional dependency on commons-lang
* velocity 1.7 has a hard dependency on commons-lang.
Upgrading velocity 1.7 -> 2.0
* http://velocity.apache.org/engine/2.0/upgrading.html
* Change velocity to velocity-engine-core
* upgrades commons-lang to commons-lang3
So if we want to finish removing commons-lang, we need to upgrade velocity.
was (Author: risdenk):
* velocity-tools 2.0 has an optional dependency on commons-lang
*velocity 1.7 has a hard dependency on commons-lang.
Upgrading velocity 1.7 -> 2.0
* http://velocity.apache.org/engine/2.0/upgrading.html
* Change velocity to velocity-engine-core
* upgrades commons-lang to commons-lang3
So if we want to finish removing commons-lang, we need to upgrade velocity.
> Remove commons-lang as a dependency
> -----------------------------------
>
> Key: SOLR-9079
> URL: https://issues.apache.org/jira/browse/SOLR-9079
> Project: Solr
> Issue Type: Improvement
> Reporter: Christine Poerschke
> Assignee: Kevin Risden
> Priority: Minor
> Fix For: 8.1, master (9.0)
>
> Attachments: SOLR-9079.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]