Skip to content

Commit 337b342

Browse files
committed
Revert maven-jar-plugin version from 3.5.0 to 3.4.2.
3.5.0 causes errors.
1 parent 0f592d6 commit 337b342

1 file changed

Lines changed: 31 additions & 13 deletions

File tree

pom.xml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ under the License.
3737
<packaging>jar</packaging>
3838

3939
<name>${project.artifactId}</name>
40-
<description>Core sketch algorithms used alone and by other Java repositories in the DataSketches library.</description>
40+
<description>Core sketch algorithms used alone and by other Java repositories in the Apache DataSketches Project.</description>
4141
<url>https://datasketches.apache.org/</url>
4242
<inceptionYear>2015</inceptionYear>
4343

@@ -92,6 +92,8 @@ under the License.
9292
<!-- System-wide properties -->
9393
<maven.version>3.9.11</maven.version>
9494
<java.version>25</java.version>
95+
<!-- Reproducable Builds, arbitrary, fixed date
96+
<project.build.outputTimestamp>2025-12-01T00:00:00Z</project.build.outputTimestamp> -->
9597
<!-- removed: g -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -->
9698
<jvm.options>-Xmx4g</jvm.options> <!-- use space to separate args -->
9799
<charset.encoding>UTF-8</charset.encoding>
@@ -102,17 +104,17 @@ under the License.
102104

103105
<!-- org.apache.maven plugins -->
104106
<maven-assembly-plugin.version>3.7.1</maven-assembly-plugin.version>
105-
<maven-compiler-plugin.version>3.14.0</maven-compiler-plugin.version>
106-
<maven-dependency-plugin.version>3.8.1</maven-dependency-plugin.version>
107+
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
108+
<maven-dependency-plugin.version>3.9.0</maven-dependency-plugin.version>
107109
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
108-
<maven-enforcer-plugin.version>3.6.1</maven-enforcer-plugin.version>
110+
<maven-enforcer-plugin.version>3.6.2</maven-enforcer-plugin.version>
109111
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
110-
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
111-
<maven-javadoc-plugin.version>3.11.3</maven-javadoc-plugin.version>
112-
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
112+
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version> <!--3.5.0 fails -->
113+
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
114+
<maven-release-plugin.version>3.2.0</maven-release-plugin.version>
113115
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
114116
<!-- for surefire, failsafe and surefire-report: -->
115-
<maven-surefire-failsafe-plugins.version>3.5.3</maven-surefire-failsafe-plugins.version>
117+
<maven-surefire-failsafe-plugins.version>3.5.4</maven-surefire-failsafe-plugins.version>
116118
<maven-toolchains-plugin.version>3.2.0</maven-toolchains-plugin.version>
117119
<!-- com.github plugins -->
118120
<git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version>
@@ -122,11 +124,12 @@ under the License.
122124
<coveralls-repo-token></coveralls-repo-token>
123125
<coveralls-maven-plugin.version>4.3.0</coveralls-maven-plugin.version>
124126
<!-- org.jacoco.maven plugins -->
125-
<jacoco-maven-plugin.version>0.8.13</jacoco-maven-plugin.version>
127+
<jacoco-maven-plugin.version>0.8.14</jacoco-maven-plugin.version>
126128
<!-- org.mojohaus plugins -->
127-
<versions-maven-plugin.version>2.18.0</versions-maven-plugin.version>
129+
<versions-maven-plugin.version>2.19.1</versions-maven-plugin.version>
128130
<!-- other -->
129131
<lifecycle-mapping.version>1.0.0</lifecycle-mapping.version>
132+
<reproducible-build-maven-plugin.version>0.17</reproducible-build-maven-plugin.version>
130133
</properties>
131134

132135
<dependencies>
@@ -393,6 +396,19 @@ under the License.
393396
<version>${git-commit-id-plugin.version}</version>
394397
</plugin>
395398

399+
<plugin>
400+
<groupId>io.github.zlika</groupId>
401+
<artifactId>reproducible-build-maven-plugin</artifactId>
402+
<version>${reproducible-build-maven-plugin.version}</version>
403+
<executions>
404+
<execution>
405+
<goals>
406+
<goal>strip-jar</goal>
407+
</goals>
408+
</execution>
409+
</executions>
410+
</plugin>
411+
396412
</plugins>
397413
</pluginManagement>
398414
<plugins>
@@ -460,6 +476,10 @@ under the License.
460476
<groupId>pl.project13.maven</groupId>
461477
<artifactId>git-commit-id-plugin</artifactId>
462478
</plugin>
479+
<plugin>
480+
<groupId>io.github.zlika</groupId>
481+
<artifactId>reproducible-build-maven-plugin</artifactId>
482+
</plugin>
463483
</plugins>
464484
</build>
465485

@@ -506,7 +526,7 @@ under the License.
506526
<includeOnlyProperties>
507527
<includeProperty>git.branch</includeProperty>
508528
<includeProperty>git.commit.id.full</includeProperty>
509-
<includeProperty>git.commit.time</includeProperty>
529+
<!-- <includeProperty>git.commit.time</includeProperty> remove for reproducible builds-->
510530
<includeProperty>git.commit.user.email</includeProperty>
511531
<includeProperty>git.tags</includeProperty>
512532
</includeOnlyProperties>
@@ -610,8 +630,6 @@ under the License.
610630
</build>
611631
</profile>
612632

613-
614-
615633
<profile>
616634
<id>generate-java-files</id>
617635
<build>

0 commit comments

Comments
 (0)