From 97e9cdee4e0f1356df13cf1ac16deb741dc3a505 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 18 Oct 2024 11:21:39 +0200 Subject: [PATCH] Switch the build to using Maven 4 and the 4.1.0 model --- .mvn/wrapper/maven-wrapper.properties | 2 +- agent/pom.xml | 9 +- build-plugin/pom.xml | 9 +- client/pom.xml | 9 +- common/pom.xml | 9 +- daemon/pom.xml | 11 +- dist/pom.xml | 9 +- helper/pom.xml | 11 +- integration-tests/pom.xml | 9 +- logging/pom.xml | 11 +- native/pom.xml | 9 +- pom.xml | 219 +------------------------- 12 files changed, 32 insertions(+), 285 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index d58dfb70b..cfeaa8886 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -16,4 +16,4 @@ # under the License. wrapperVersion=3.3.2 distributionType=only-script -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/4.0.0-beta-5/apache-maven-4.0.0-beta-5-bin.zip diff --git a/agent/pom.xml b/agent/pom.xml index 247531afa..cc3a79deb 100644 --- a/agent/pom.xml +++ b/agent/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-agent diff --git a/build-plugin/pom.xml b/build-plugin/pom.xml index 5a9717e80..cac3deb07 100644 --- a/build-plugin/pom.xml +++ b/build-plugin/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-build-maven-plugin diff --git a/client/pom.xml b/client/pom.xml index 0cead8535..d83e36e7b 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-client diff --git a/common/pom.xml b/common/pom.xml index 9385f25cf..0362a7629 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-common diff --git a/daemon/pom.xml b/daemon/pom.xml index 7c07b30dc..c67ba36bc 100644 --- a/daemon/pom.xml +++ b/daemon/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - - - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + + + mvnd-daemon diff --git a/dist/pom.xml b/dist/pom.xml index 5b1536509..22b8e49a5 100644 --- a/dist/pom.xml +++ b/dist/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-dist diff --git a/helper/pom.xml b/helper/pom.xml index 2a7c76da3..ad99dcf56 100644 --- a/helper/pom.xml +++ b/helper/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - - - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + + + mvnd-helper-agent diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 5476fd3b4..751f681a5 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-integration-tests diff --git a/logging/pom.xml b/logging/pom.xml index 64c9f4343..a63428303 100644 --- a/logging/pom.xml +++ b/logging/pom.xml @@ -16,14 +16,9 @@ limitations under the License. --> - - - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + + + mvnd-logging diff --git a/native/pom.xml b/native/pom.xml index 2811dde34..b7c8fe352 100644 --- a/native/pom.xml +++ b/native/pom.xml @@ -14,14 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - 4.0.0 - - org.apache.maven.daemon - mvnd - 2.0.0-beta-2-SNAPSHOT - + mvnd-native diff --git a/pom.xml b/pom.xml index 9d47d2a2a..93ccb5dda 100644 --- a/pom.xml +++ b/pom.xml @@ -16,15 +16,12 @@ limitations under the License. --> - - - 4.0.0 + org.apache.maven maven-parent 43 - org.apache.maven.daemon @@ -43,19 +40,6 @@ - - build-plugin - native - agent - helper - common - client - logging - daemon - dist - integration-tests - - scm:git:${repository.url}.git scm:git:${repository.url}.git @@ -84,7 +68,7 @@ 2.4.1 3.27.1 4.0.0-beta-5 - 3.9.9 + 4.0.0-beta-5 2.0.2 @@ -112,16 +96,13 @@ - - - org.slf4j - slf4j-api - ${slf4j.version} - - org.slf4j - slf4j-simple - ${slf4j.version} + org.apache.maven + apache-maven + ${maven.version} + fat + pom + import @@ -130,64 +111,12 @@ ${commons-compress.version} - - org.apache.groovy - groovy - ${groovy.version} - - org.graalvm.nativeimage svm ${graalvm.version} - - jakarta.inject - jakarta.inject-api - ${jakarta.inject.version} - - - - org.apache.maven - maven-plugin-api - ${maven.version} - - - org.apache.maven - maven-model - ${maven.version} - - - org.apache.maven - maven-core - ${maven.version} - - - org.apache.maven - maven-resolver-provider - ${maven.version} - - - org.apache.maven - maven-embedder - ${maven.version} - - - org.apache.maven - maven-cli - ${maven.version} - - - org.apache.maven - maven-jline - ${maven.version} - - - org.apache.maven - maven-logging - ${maven.version} - org.apache.maven apache-maven @@ -201,37 +130,6 @@ ${maven.plugin-tools.version} - - org.apache.maven.resolver - maven-resolver-api - ${maven.resolver.version} - - - org.apache.maven.resolver - maven-resolver-impl - ${maven.resolver.version} - - - org.apache.maven.resolver - maven-resolver-spi - ${maven.resolver.version} - - - org.apache.maven.resolver - maven-resolver-util - ${maven.resolver.version} - - - org.apache.maven.resolver - maven-resolver-connector-basic - ${maven.resolver.version} - - - org.apache.maven.resolver - maven-resolver-transport-wagon - ${maven.resolver.version} - - org.apache.maven.shared @@ -245,114 +143,18 @@ ${assertj.version} - - org.apache.maven.daemon - mvnd-native - ${project.version} - - - org.apache.maven.daemon - mvnd-logging - ${project.version} - - - org.apache.maven.daemon - mvnd-agent - ${project.version} - - - org.apache.maven.daemon - mvnd-client - ${project.version} - - - org.apache.maven.daemon - mvnd-common - ${project.version} - - - org.apache.maven.daemon - mvnd-dist - ${project.version} - pom - - - org.apache.maven.daemon - mvnd-daemon - ${project.version} - - - org.apache.maven.daemon - mvnd-helper-agent - ${project.version} - - io.takari.maven takari-smart-builder ${takari-smart-builder.version} - - org.eclipse.sisu - org.eclipse.sisu.inject - ${sisu.version} - - - org.eclipse.sisu - org.eclipse.sisu.plexus - ${sisu.version} - - - com.google.inject - guice - 6.0.0 - classes - - - com.google.guava - guava - 33.3.1-jre - provided - - - - org.jline - jline - ${jline.version} - - - org.jline - jline-terminal - ${jline.version} - - - org.jline - jline-terminal-jansi - ${jline.version} - - - org.jline - jline-terminal-jni - ${jline.version} - - info.picocli picocli-codegen ${picocli.version} - - org.slf4j - log4j-over-slf4j - ${slf4j.version} - - - org.slf4j - jcl-over-slf4j - ${slf4j.version} - org.slf4j jul-to-slf4j @@ -369,11 +171,6 @@ javassist ${javassist.version} - - org.codehaus.plexus - plexus-interactivity-api - ${plexus-interactivity-api.version} - org.testcontainers