Apply reproducible-build-maven-plugin to fix ordering in resulting jars

Plugin https://github.com/Zlika/reproducible-build-maven-plugin has
an Apache 2-0 licence.

There's an explicit mentioning that ZIP and
JAR entries ordering `depends on file system order` at
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=74682318

kotlin-annotation-processing-maven-{version}-sources.jar
kotlin-archetype-js-{version}-sources.jar
kotlin-archetype-jvm-{version}-sources.jar
kotlin-maven-allopen-{version}-sources.jar and other jars were affected.

KTI-729
This commit is contained in:
Nikolay Krasko
2022-04-05 17:33:26 +03:00
committed by teamcity
parent d61e7db937
commit 8bc29a3011
+13
View File
@@ -234,6 +234,19 @@
</archive>
</configuration>
</plugin>
<plugin>
<groupId>io.github.zlika</groupId>
<artifactId>reproducible-build-maven-plugin</artifactId>
<version>0.15</version>
<executions>
<execution>
<goals>
<goal>strip-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>