From bd53a5bcf206e0256c68ef0dbbcf62856d6c3ece Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Boutemy?= Date: Sat, 30 Apr 2022 16:08:37 +0200 Subject: [PATCH] improve Reproducible Builds --- activemq-karaf-itest/pom.xml | 25 +++++++++++++++++++++++++ activemq-ra/pom.xml | 26 ++++++++++++++++++++++++++ activemq-runtime-config/pom.xml | 1 + activemq-spring/pom.xml | 26 ++++++++++++++++++++++++++ pom.xml | 26 +++++++------------------- 5 files changed, 85 insertions(+), 19 deletions(-) diff --git a/activemq-karaf-itest/pom.xml b/activemq-karaf-itest/pom.xml index 6a39ec82d5..668a117f08 100644 --- a/activemq-karaf-itest/pom.xml +++ b/activemq-karaf-itest/pom.xml @@ -170,6 +170,31 @@ + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + process-resources + + replace + + + + + + ${project.build.directory}/classes/META-INF/maven/dependencies.properties + + + + # Generated at: ... ... .+ + # + + + true + + maven-surefire-plugin diff --git a/activemq-ra/pom.xml b/activemq-ra/pom.xml index 2949811c70..f5b81de575 100644 --- a/activemq-ra/pom.xml +++ b/activemq-ra/pom.xml @@ -99,6 +99,32 @@ + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + process-sources + + replace + + + + + ${project.build.directory}/xbean/META-INF + + spring.* + + + + #... ... .+ + # + + + true + + diff --git a/activemq-runtime-config/pom.xml b/activemq-runtime-config/pom.xml index 8b3f4ed2cb..0157d31720 100644 --- a/activemq-runtime-config/pom.xml +++ b/activemq-runtime-config/pom.xml @@ -136,6 +136,7 @@ ${basedir}/../activemq-spring/target/classes/activemq.xsd ${basedir}/src/main/resources/binding.xjb + -no-header -XtoString -XhashCode -Xequals diff --git a/activemq-spring/pom.xml b/activemq-spring/pom.xml index 00773b7e38..dab34964a5 100644 --- a/activemq-spring/pom.xml +++ b/activemq-spring/pom.xml @@ -230,6 +230,32 @@ + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + process-classes + + replace + + + + + ${project.build.directory}/classes/META-INF + + spring.* + + + + #... ... .+ + # + + + true + + org.apache.maven.plugins maven-antrun-plugin diff --git a/pom.xml b/pom.xml index f01d9677a3..0536dc68f6 100644 --- a/pom.xml +++ b/pom.xml @@ -125,13 +125,13 @@ 3.0.0-M6 3.0.0 3.3.0 - 2.5.3 + 3.0.0-M5 2.10 3.1.0 3.3.2 3.10.1 + 3.0.0 3.2.2 - 2.5 3.2.1 3.3.2 2.5.2 @@ -240,7 +240,7 @@ scm:git:http://gitbox.apache.org/repos/asf/activemq.git scm:git:https://gitbox.apache.org/repos/asf/activemq.git https://github.com/apache/activemq - activemq-5.16.0 + main @@ -1137,18 +1137,6 @@ false activemq-@{project.version} - - - org.apache.maven.scm - maven-scm-api - 1.8.1 - - - org.apache.maven.scm - maven-scm-provider-gitexe - 1.8.1 - - org.apache.maven.plugins @@ -1220,13 +1208,13 @@ org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin-version} + maven-rar-plugin + ${maven-rar-plugin-version} org.apache.maven.plugins - maven-archiver - ${maven-archiver-version} + maven-compiler-plugin + ${maven-compiler-plugin-version} org.apache.maven.plugins