You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by kr...@apache.org on 2019/12/15 18:41:26 UTC

[lucene-solr] branch branch_8x updated: SOLR-14086: Tika ClassNotFound error due to commons-compress in solr-core dependency

This is an automated email from the ASF dual-hosted git repository.

krisden pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 2b775d8  SOLR-14086: Tika ClassNotFound error due to commons-compress in solr-core dependency
2b775d8 is described below

commit 2b775d88eb6c6973d0b53380abfd5ef5c4f7b0d7
Author: Kevin Risden <kr...@apache.org>
AuthorDate: Sat Dec 14 14:55:14 2019 -0500

    SOLR-14086: Tika ClassNotFound error due to commons-compress in solr-core dependency
    
    Introduced in SOLR-14033 by including
    commons-compress as a compile time
    dependency in Solr core instead of as
    as test only dependency.
    
    Signed-off-by: Kevin Risden <kr...@apache.org>
---
 solr/core/ivy.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/ivy.xml b/solr/core/ivy.xml
index 5b6c53a..a7c0613 100644
--- a/solr/core/ivy.xml
+++ b/solr/core/ivy.xml
@@ -38,7 +38,6 @@
     <dependency org="commons-codec" name="commons-codec" rev="${/commons-codec/commons-codec}" conf="compile"/>
     <dependency org="commons-io" name="commons-io" rev="${/commons-io/commons-io}" conf="compile"/>
     <dependency org="org.apache.commons" name="commons-exec" rev="${/org.apache.commons/commons-exec}" conf="compile"/>
-    <dependency org="org.apache.commons" name="commons-compress" rev="${/org.apache.commons/commons-compress}" conf="compile"/>
     <dependency org="commons-fileupload" name="commons-fileupload" rev="${/commons-fileupload/commons-fileupload}" conf="compile"/>
     <dependency org="commons-cli" name="commons-cli" rev="${/commons-cli/commons-cli}" conf="compile"/>
     <dependency org="org.apache.commons" name="commons-text" rev="${/org.apache.commons/commons-text}" conf="compile"/>
@@ -110,6 +109,7 @@
     <dependency org="com.sun.jersey" name="jersey-servlet" rev="${/com.sun.jersey/jersey-servlet}" conf="test.DfsMiniCluster"/>
     <dependency org="commons-logging" name="commons-logging" rev="${/commons-logging/commons-logging}" conf="test.DfsMiniCluster"/>
     <dependency org="io.netty" name="netty-all" rev="${/io.netty/netty-all}" conf="test.DfsMiniCluster"/>
+    <dependency org="org.apache.commons" name="commons-compress" rev="${/org.apache.commons/commons-compress}" conf="test.DfsMiniCluster"/>
     <dependency org="org.apache.commons" name="commons-text" rev="${/org.apache.commons/commons-text}" conf="test.DfsMiniCluster"/>
 
     <!-- Hadoop MiniKdc Dependencies-->