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 2020/03/11 15:47:30 UTC

[tika] 03/04: TIKA-3068 -- fix release configuration for tika-server's new bin/service mode

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

tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git

commit ebda7cc8ba84da1a9fd4553c8db28301c10c2675
Author: tallison <ta...@apache.org>
AuthorDate: Wed Mar 11 11:19:42 2020 -0400

    TIKA-3068 -- fix release configuration for tika-server's new bin/service mode
---
 pom.xml             |  2 ++
 tika-parent/pom.xml | 20 ++++++++++++--------
 2 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/pom.xml b/pom.xml
index 92c7745..2e771f3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,6 +102,8 @@
                         <include name="target/*-src.zip*" />
                         <include name="tika-app/target/tika-app-${project.version}.jar*" />
                         <include name="tika-server/target/tika-server-${project.version}.jar*" />
+                        <include name="tika-server/target/tika-server-${project.version}.bin.tgz*" />
+                        <include name="tika-server/target/tika-server-${project.version}.bin.zip*" />
                         <include name="tika-eval/target/tika-eval-${project.version}.jar*" />
                       </fileset>
                     </copy>
diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml
index 71c549b..eb21f99 100644
--- a/tika-parent/pom.xml
+++ b/tika-parent/pom.xml
@@ -401,14 +401,7 @@
                     </excludeCoordinates>
                 </configuration>
       -->
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <version>${maven.assembly.version}</version>
-        <configuration>
-          <tarLongFileMode>posix</tarLongFileMode>
-        </configuration>
-      </plugin>
+
       <plugin>
         <groupId>de.thetaphi</groupId>
         <artifactId>forbiddenapis</artifactId>
@@ -454,6 +447,17 @@
         <artifactId>maven-shade-plugin</artifactId>
         <version>${maven.shade.version}</version>
       </plugin>
+      <!-- assembly must happen after shade so that
+        tika-server's -bin.tgz/zip includes the uber jar
+        -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <version>${maven.assembly.version}</version>
+        <configuration>
+          <tarLongFileMode>posix</tarLongFileMode>
+        </configuration>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-release-plugin</artifactId>