You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2016/02/04 02:13:20 UTC

tika git commit: TIKA-1847: clean up tika-parsers pom -- get rid of duplicative dependencies; remove rat-excludes; remove mockito and geoapi, which don't seem to be used

Repository: tika
Updated Branches:
  refs/heads/2.x 4843ccbf2 -> 29defdda3


TIKA-1847: clean up tika-parsers pom -- get rid of duplicative dependencies; remove rat-excludes; remove mockito and geoapi, which don't seem to be used


Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/29defdda
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/29defdda
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/29defdda

Branch: refs/heads/2.x
Commit: 29defdda3ddc979b08e4cfdc41ecf5362c1c2e2b
Parents: 4843ccb
Author: tballison <ta...@mitre.org>
Authored: Wed Feb 3 20:13:07 2016 -0500
Committer: tballison <ta...@mitre.org>
Committed: Wed Feb 3 20:13:07 2016 -0500

----------------------------------------------------------------------
 tika-parsers/pom.xml | 123 +++++++---------------------------------------
 1 file changed, 17 insertions(+), 106 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tika/blob/29defdda/tika-parsers/pom.xml
----------------------------------------------------------------------
diff --git a/tika-parsers/pom.xml b/tika-parsers/pom.xml
index 93a285f..d4602ac 100644
--- a/tika-parsers/pom.xml
+++ b/tika-parsers/pom.xml
@@ -35,14 +35,7 @@
   <url>http://tika.apache.org/</url>
 
   <properties>
-    <poi.version>3.14-beta1</poi.version>
-    <!-- NOTE: sync codec version with POI -->
-    <codec.version>1.9</codec.version>
-    <!-- NOTE: sync tukaani version with commons-compress -->
-    <tukaani.version>1.5</tukaani.version>
-    <mime4j.version>0.7.2</mime4j.version>
     <vorbis.version>0.6</vorbis.version>
-    <pdfbox.version>1.8.11</pdfbox.version>
   </properties>
 
   <dependencies>
@@ -69,82 +62,6 @@
       <scope>test</scope>
     </dependency>
 
-    <!-- Externally Maintained Parsers -->
-    <dependency>
-      <groupId>org.gagravarr</groupId>
-      <artifactId>vorbis-java-tika</artifactId>
-      <version>${vorbis.version}</version>
-    </dependency>
-
-    <!-- Optional OSGi dependencies, used only when running within OSGi -->
-    <dependency>
-      <groupId>org.apache.felix</groupId>
-      <artifactId>org.apache.felix.scr.annotations</artifactId>
-      <scope>provided</scope>
-    </dependency>
-
-    <dependency>
-      <groupId>org.tukaani</groupId>
-      <artifactId>xz</artifactId>
-      <version>${tukaani.version}</version>
-    </dependency>
-
-    <dependency>
-      <groupId>commons-codec</groupId>
-      <artifactId>commons-codec</artifactId>
-      <version>${codec.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.pdfbox</groupId>
-      <artifactId>pdfbox</artifactId>
-      <version>${pdfbox.version}</version>
-    </dependency>
-    
-    <dependency>
-      <groupId>org.apache.poi</groupId>
-      <artifactId>poi</artifactId>
-      <version>${poi.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.poi</groupId>
-      <artifactId>poi-scratchpad</artifactId>
-      <version>${poi.version}</version>
-    </dependency>
-    <dependency>
-      <groupId>org.apache.poi</groupId>
-      <artifactId>poi-ooxml</artifactId>
-      <version>${poi.version}</version>
-      <exclusions>
-        <exclusion>
-          <groupId>stax</groupId>
-          <artifactId>stax-api</artifactId>
-        </exclusion>
-        <exclusion>
-          <groupId>xml-apis</groupId>
-          <artifactId>xml-apis</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-    
-
-    <!-- Apache cTAKES -->
-    <dependency>
-      <groupId>org.apache.ctakes</groupId>
-      <artifactId>ctakes-core</artifactId>
-      <version>3.2.2</version>
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.xerial</groupId>
-      <artifactId>sqlite-jdbc</artifactId>
-      <version>3.8.10.1</version> 
-      <scope>provided</scope>
-    </dependency>
-    <dependency>
-      <groupId>org.gagravarr</groupId>
-      <artifactId>vorbis-java-core</artifactId>
-      <version>${vorbis.version}</version>
-    </dependency>
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>tika-parser-multimedia-module</artifactId>
@@ -215,13 +132,25 @@
       <artifactId>tika-parser-web-module</artifactId>
       <version>${project.version}</version>
     </dependency>
+
+    <!-- Optional OSGi dependencies, used only when running within OSGi -->
     <dependency>
-      <groupId>commons-io</groupId>
-      <artifactId>commons-io</artifactId>
-      <version>${commons.io.version}</version>
+      <groupId>org.apache.felix</groupId>
+      <artifactId>org.apache.felix.scr.annotations</artifactId>
+      <scope>provided</scope>
+    </dependency>
+
+    <!-- Externally Maintained Parsers -->
+    <dependency>
+      <groupId>org.gagravarr</groupId>
+      <artifactId>vorbis-java-tika</artifactId>
+      <version>${vorbis.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.gagravarr</groupId>
+      <artifactId>vorbis-java-core</artifactId>
+      <version>${vorbis.version}</version>
     </dependency>
-    
-    
 
     <!-- Test dependencies -->
     <dependency>
@@ -229,12 +158,6 @@
       <artifactId>junit</artifactId>
     </dependency>
     <dependency>
-      <groupId>org.mockito</groupId>
-      <artifactId>mockito-core</artifactId>
-      <version>1.7</version>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
       <groupId>org.slf4j</groupId>
       <artifactId>slf4j-log4j12</artifactId>
       <scope>test</scope>
@@ -246,11 +169,6 @@
       <scope>test</scope>
       <type>test-jar</type>
     </dependency>
-    <dependency>
-      <groupId>org.opengis</groupId>
-      <artifactId>geoapi</artifactId>
-      <version>3.0.0</version>
-    </dependency>
   </dependencies>
 
   <build>
@@ -276,13 +194,6 @@
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>src/main/java/org/apache/tika/parser/txt/Charset*.java</exclude>
-            <exclude>src/test/resources/test-documents/**</exclude>
-            <exclude>src/test/resources/META-INF/services/org.apache.tika.parser.Parser</exclude>
-          </excludes>
-        </configuration>
       </plugin>
       
       <plugin>