You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@orc.apache.org by om...@apache.org on 2019/10/01 23:00:01 UTC

[orc] branch branch-1.6 updated: ORC-504: Introduce reproducible java build.

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

omalley pushed a commit to branch branch-1.6
in repository https://gitbox.apache.org/repos/asf/orc.git


The following commit(s) were added to refs/heads/branch-1.6 by this push:
     new 56e4019  ORC-504: Introduce reproducible java build.
56e4019 is described below

commit 56e4019d840be84ddfc8e141272c8e60ed601508
Author: Yukihiro Okada <ca...@gmail.com>
AuthorDate: Sat Sep 14 17:16:19 2019 +0900

    ORC-504: Introduce reproducible java build.
    
    Fixes #430
    
    Signed-off-by: Owen O'Malley <om...@apache.org>
---
 java/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/java/pom.xml b/java/pom.xml
index 1aadfe2..4b09d68 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -170,6 +170,19 @@
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <version>2.9</version>
       </plugin>
+      <plugin>
+        <groupId>io.github.zlika</groupId>
+        <artifactId>reproducible-build-maven-plugin</artifactId>
+        <version>0.11</version>
+        <executions>
+          <execution>
+            <phase>package</phase>
+            <goals>
+              <goal>strip-jar</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>
@@ -311,6 +324,11 @@
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <groupId>io.github.zlika</groupId>
+          <artifactId>reproducible-build-maven-plugin</artifactId>
+          <version>0.11</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>