pom: add reproducable build plugin

The previous attempt at this was running the
reproducable-build-maven-plugin after jarsigning, which results in the
jar not verifying correctly.
This commit is contained in:
Adam
2019-04-11 17:33:05 -04:00
parent 3ffa7128c0
commit 410eacfd6a
2 changed files with 19 additions and 0 deletions

14
pom.xml
View File

@@ -226,6 +226,20 @@
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
</plugin>
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
<version>0.7</version>
<executions>
<execution>
<!-- Move from pre-integration-test to place before jarsigning -->
<phase>package</phase>
<goals>
<goal>strip-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>