Author: bob
Date: Mon Dec 28 23:26:00 2015
New Revision: 1722030

URL: http://svn.apache.org/viewvc?rev=1722030&view=rev
Log:
TIKA-1812 - Copying the multimedia module classes back into tika-parsers with 
the maven shade plugin.  This will allow creation of an uber jar.

Modified:
    tika/branches/2.x/tika-parsers/pom.xml

Modified: tika/branches/2.x/tika-parsers/pom.xml
URL: 
http://svn.apache.org/viewvc/tika/branches/2.x/tika-parsers/pom.xml?rev=1722030&r1=1722029&r2=1722030&view=diff
==============================================================================
--- tika/branches/2.x/tika-parsers/pom.xml (original)
+++ tika/branches/2.x/tika-parsers/pom.xml Mon Dec 28 23:26:00 2015
@@ -232,7 +232,11 @@
       <artifactId>cxf-rt-rs-client</artifactId>
       <version>${cxf.version}</version>
     </dependency>
-       
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>tika-multimedia-module</artifactId>
+      <version>${project.version}</version>
+    </dependency>
 
     <!-- Provided dependencies -->
     <dependency>
@@ -422,7 +426,26 @@
           </execution>
         </executions>
       </plugin>
-      
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-shade-plugin</artifactId>
+        <version>2.4.2</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>shade</goal>
+            </goals>
+            <configuration>
+              <artifactSet>
+                <includes>
+                  <include>org.apache.tika:tika-multimedia-module</include>
+                </includes>
+              </artifactSet>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-jar-plugin</artifactId>


Reply via email to