You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ie...@apache.org on 2017/08/22 07:53:47 UTC
[3/4] beam git commit: [BEAM-2727] Make jar generation reproducible
[BEAM-2727] Make jar generation reproducible
This enables the Maven reproducible-build plugin that strips tiemstamps
and other information to achieve reproducible builds.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/a72b6286
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/a72b6286
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/a72b6286
Branch: refs/heads/master
Commit: a72b62864fc42b0f7596ea4af2378edbd756fc11
Parents: d8d3f30
Author: Ismaël Mejía <ie...@gmail.com>
Authored: Mon Aug 21 17:19:46 2017 +0200
Committer: Ismaël Mejía <ie...@gmail.com>
Committed: Tue Aug 22 09:52:45 2017 +0200
----------------------------------------------------------------------
pom.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/a72b6286/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1bdaa97..29f329f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -165,6 +165,7 @@
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
<maven-resources-plugin.version>3.0.2</maven-resources-plugin.version>
<maven-shade-plugin.version>3.0.0</maven-shade-plugin.version>
+ <reproducible-build-maven-plugin.version>0.3</reproducible-build-maven-plugin.version>
<compiler.error.flag>-Werror</compiler.error.flag>
<compiler.default.pkginfo.flag>-Xpkginfo:always</compiler.default.pkginfo.flag>
@@ -271,6 +272,11 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
+
+ <plugin>
+ <groupId>io.github.zlika</groupId>
+ <artifactId>reproducible-build-maven-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</profile>
@@ -1772,6 +1778,19 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>io.github.zlika</groupId>
+ <artifactId>reproducible-build-maven-plugin</artifactId>
+ <version>${reproducible-build-maven-plugin.version}</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>strip-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>