You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ju...@apache.org on 2010/04/14 14:57:21 UTC

svn commit: r933934 - /lucene/tika/trunk/tika-parsers/pom.xml

Author: jukka
Date: Wed Apr 14 12:57:21 2010
New Revision: 933934

URL: http://svn.apache.org/viewvc?rev=933934&view=rev
Log:
TIKA-403: Refactor log library usage in tika-parsers

As suggested by Attila Király, use dependencyManagement to specify the transitive commons-logging version.

Modified:
    lucene/tika/trunk/tika-parsers/pom.xml

Modified: lucene/tika/trunk/tika-parsers/pom.xml
URL: http://svn.apache.org/viewvc/lucene/tika/trunk/tika-parsers/pom.xml?rev=933934&r1=933933&r2=933934&view=diff
==============================================================================
--- lucene/tika/trunk/tika-parsers/pom.xml (original)
+++ lucene/tika/trunk/tika-parsers/pom.xml Wed Apr 14 12:57:21 2010
@@ -114,14 +114,6 @@
       <artifactId>geronimo-stax-api_1.0_spec</artifactId>
       <version>1.0.1</version>
     </dependency>
-    <!-- TIKA-260: Weird transitive dependencies from commons-logging    -->
-    <!-- POI depends on Commons Logging 1.1 that has weird dependencies. -->
-    <!-- Override the dependency with version 1.1.1 that's much better.  -->
-    <dependency>
-      <groupId>commons-logging</groupId>
-      <artifactId>commons-logging</artifactId>
-      <version>1.1.1</version>
-    </dependency>
     <dependency>
       <groupId>org.ccil.cowan.tagsoup</groupId>
       <artifactId>tagsoup</artifactId>
@@ -155,6 +147,19 @@
     </dependency>
   </dependencies>
 
+  <dependencyManagement>
+    <!-- TIKA-403: Refactor log library usage in tika-parsers            -->
+    <!-- POI depends on Commons Logging 1.1 that has weird dependencies. -->
+    <!-- Override the dependency with version 1.1.1 that's much better.  -->
+    <dependencies>
+      <dependency>
+        <groupId>commons-logging</groupId>
+        <artifactId>commons-logging</artifactId>
+        <version>1.1.1</version>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
+
   <build>
     <plugins>
       <plugin>