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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user