You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steve Rowe (JIRA)" <ji...@apache.org> on 2014/06/04 01:58:02 UTC
[jira] [Updated] (LUCENE-5715) Upgrade direct dependencies known to
be older than transitive dependencies
[ https://issues.apache.org/jira/browse/LUCENE-5715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Rowe updated LUCENE-5715:
-------------------------------
Attachment: LUCENE-5715.patch
Patch upgrading everything to the highest transitive dependency version (not necessarily the most recent available) except
# javax.servlet:servlet-api:2.4
# org.ow2.asm:asm:4.1
# com.google.guava:guava:14.0.1, because Guava 14's Closeables.closeQuietly() is no longer present in v16, and Kite SDK 0.12.1 uses this method (o.a.s.morphlines.cell.SolrCellBuilder.SolrCell.doProcess() also uses this method, rather than try-with-resources):
{noformat}
[junit4] 2> NOTE: reproduce with: ant test -Dtestcase=MorphlineMapperTest -Dtests.method=testMapper -Dtests.seed=90C8B5E1477B3578 -Dtests.slow=true -Dtests.locale=es_PE -Dtests.timezone=America/Dawson -Dtests.file.encoding=UTF-8
[junit4] ERROR 20.5s J0 | MorphlineMapperTest.testMapper <<<
[junit4] > Throwable #1: java.lang.NoSuchMethodError: com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
[junit4] > at __randomizedtesting.SeedInfo.seed([90C8B5E1477B3578:5ABCC5ED2C447C09]:0)
[junit4] > at org.kitesdk.morphline.tika.DetectMimeTypeBuilder$DetectMimeType.<init>(DetectMimeTypeBuilder.java:119)
[junit4] > at org.kitesdk.morphline.tika.DetectMimeTypeBuilder.build(DetectMimeTypeBuilder.java:65)
[junit4] > at org.kitesdk.morphline.base.AbstractCommand.buildCommand(AbstractCommand.java:302)
[junit4] > at org.kitesdk.morphline.base.AbstractCommand.buildCommandChain(AbstractCommand.java:249)
[junit4] > at org.kitesdk.morphline.stdlib.Pipe.<init>(Pipe.java:46)
[junit4] > at org.kitesdk.morphline.stdlib.PipeBuilder.build(PipeBuilder.java:40)
[junit4] > at org.kitesdk.morphline.base.Compiler.compile(Compiler.java:126)
[junit4] > at org.kitesdk.morphline.base.Compiler.compile(Compiler.java:55)
[junit4] > at org.apache.solr.hadoop.morphline.MorphlineMapRunner.<init>(MorphlineMapRunner.java:157)
[junit4] > at org.apache.solr.hadoop.morphline.MorphlineMapper.setup(MorphlineMapper.java:75)
[junit4] > at org.apache.hadoop.mapreduce.Mapper.run(Mapper.java:142)
[junit4] > at org.apache.hadoop.mrunit.mapreduce.MapDriver.run(MapDriver.java:137)
[junit4] > at org.apache.solr.hadoop.MorphlineMapperTest.testMapper(MorphlineMapperTest.java:61)
[junit4] > at java.lang.Thread.run(Thread.java:745)
{noformat}
> Upgrade direct dependencies known to be older than transitive dependencies
> --------------------------------------------------------------------------
>
> Key: LUCENE-5715
> URL: https://issues.apache.org/jira/browse/LUCENE-5715
> Project: Lucene - Core
> Issue Type: Task
> Components: general/build
> Reporter: Steve Rowe
> Assignee: Steve Rowe
> Priority: Minor
> Attachments: LUCENE-5715.patch
>
>
> LUCENE-5442 added functionality to the {{check-lib-versions}} ant task to fail the build if a direct dependency's version conflicts with that of a transitive dependency.
> {{ivy-ignore-conflicts.properties}} contains a list of 19 transitive dependencies with versions that are newer than direct dependencies' versions: https://issues.apache.org/jira/browse/LUCENE-5442?focusedCommentId=14012220&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14012220
> We should try to keep that list small. It's likely that upgrading most of those dependencies will require little effort.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org