From 05739f8db4838bcb068e91caa007cd7b88d152ce Mon Sep 17 00:00:00 2001 From: Janmm14 Date: Sun, 23 Jun 2024 12:27:50 +0200 Subject: [PATCH] Improve build reproducibility by setting versions for common maven plugins in plugin management. --- bootstrap/pom.xml | 2 - pom.xml | 103 ++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 95 insertions(+), 10 deletions(-) diff --git a/bootstrap/pom.xml b/bootstrap/pom.xml index ff27b54eb3..be1a40bb2a 100644 --- a/bootstrap/pom.xml +++ b/bootstrap/pom.xml @@ -41,7 +41,6 @@ org.apache.maven.plugins maven-jar-plugin - 3.4.1 @@ -55,7 +54,6 @@ org.apache.maven.plugins maven-shade-plugin - 3.5.3 package diff --git a/pom.xml b/pom.xml index 7335e8b798..fd3b2de46d 100644 --- a/pom.xml +++ b/pom.xml @@ -125,18 +125,112 @@ + + org.apache.maven.plugins + maven-clean-plugin + 3.4.0 + + + org.apache.maven.plugins + maven-compiler-plugin + 3.13.0 + + + org.apache.maven.plugins + maven-deploy-plugin + 3.1.2 + + + org.apache.maven.plugins + maven-install-plugin + 3.1.2 + + + org.apache.maven.plugins + maven-resources-plugin + 3.3.1 + + + org.apache.maven.plugins + maven-site-plugin + 4.0.0-M15 + + + org.apache.maven.plugins + maven-surefire-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-verifier-plugin + 3.3.0 + + + org.apache.maven.plugins + maven-jar-plugin + 3.4.2 + + + org.apache.maven.plugins + maven-shade-plugin + 3.6.0 + + + org.apache.maven.plugins + maven-source-plugin + 3.3.1 + + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.4.0 + org.apache.maven.plugins maven-javadoc-plugin 3.6.3 + + org.apache.maven.plugins + maven-enforcer-plugin + 3.5.0 + + + org.apache.maven.plugins + maven-gpg-plugin + 3.2.4 + + + org.apache.maven.plugins + maven-jarsigner-plugin + 3.0.0 + + + org.apache.maven.plugins + maven-release-plugin + 3.1.0 + + + org.projectlombok + lombok-maven-plugin + 1.18.20.0 + + + org.codehaus.mojo + animal-sniffer-maven-plugin + 1.23 + + + net.md-5 + scriptus + 0.5.0 + net.md-5 scriptus - 0.5.0 git:${project.name}:${project.version}:%s:${build.number} @@ -152,12 +246,10 @@ org.apache.maven.plugins maven-compiler-plugin - 3.13.0 org.apache.maven.plugins maven-checkstyle-plugin - 3.3.1 process-classes @@ -182,7 +274,6 @@ org.codehaus.mojo animal-sniffer-maven-plugin - 1.23 process-classes @@ -202,7 +293,6 @@ org.apache.maven.plugins maven-enforcer-plugin - 3.4.1 enforce @@ -282,7 +372,6 @@ org.apache.maven.plugins maven-source-plugin - 3.3.1 package @@ -295,7 +384,6 @@ org.projectlombok lombok-maven-plugin - 1.18.20.0 package @@ -357,7 +445,6 @@ org.apache.maven.plugins maven-gpg-plugin - 3.2.4 verify