[
https://issues.apache.org/jira/browse/SOLR-9079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16796268#comment-16796268
]
Kevin Risden commented on SOLR-9079:
------------------------------------
Sigh all went well except for the solr/contrib/velocity tests.
{code:java}
[junit4] > Throwable #1: java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringUtils
[junit4] > at
__randomizedtesting.SeedInfo.seed([7014262216574C1B:AE369B21B26146B8]:0)
[junit4] > at
org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:161)
[junit4] > at
org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:730)
[junit4] > at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)
[junit4] > at
org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:646)
[junit4] > at
org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116)
[junit4] > at
org.apache.solr.response.VelocityResponseWriter.createEngine(VelocityResponseWriter.java:345)
[junit4] > at
org.apache.solr.response.VelocityResponseWriter.write(VelocityResponseWriter.java:153)
[junit4] > at
org.apache.solr.velocity.VelocityResponseWriterTest.testCustomParamTemplate(VelocityResponseWriterTest.java:57)
[junit4] > at java.lang.Thread.run(Thread.java:748)
{code}
> 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: 0.5h
> 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]