From da6211da069a0efdcea2adfe962901f972a9c457 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 10 Mar 2023 08:54:03 +0100 Subject: [PATCH] Upgrade lifecycle plugins to 4.x --- .../internal/impl/DefaultLifecycleRegistry.java | 2 +- .../packaging/AbstractLifecycleMappingProvider.java | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java index acd8fd74c2f9..e264fae0d301 100644 --- a/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java +++ b/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java @@ -219,7 +219,7 @@ static class WrapperLifecycleProvider extends BaseLifecycleProvider { static class CleanLifecycle implements Lifecycle { - private static final String MAVEN_CLEAN_PLUGIN_VERSION = "3.2.0"; + private static final String MAVEN_CLEAN_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; @Override public String id() { diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java index ab1e212bbab8..681a49c04b09 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java @@ -35,25 +35,25 @@ */ public abstract class AbstractLifecycleMappingProvider implements Provider { // START SNIPPET: versions - protected static final String RESOURCES_PLUGIN_VERSION = "3.3.1"; + protected static final String RESOURCES_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; - protected static final String COMPILER_PLUGIN_VERSION = "3.13.0"; + protected static final String COMPILER_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; protected static final String SUREFIRE_PLUGIN_VERSION = "3.2.5"; - protected static final String INSTALL_PLUGIN_VERSION = "3.1.1"; + protected static final String INSTALL_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; - protected static final String DEPLOY_PLUGIN_VERSION = "3.1.1"; + protected static final String DEPLOY_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; // packaging - protected static final String JAR_PLUGIN_VERSION = "3.4.1"; + protected static final String JAR_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; protected static final String EAR_PLUGIN_VERSION = "3.3.0"; protected static final String EJB_PLUGIN_VERSION = "3.2.1"; - protected static final String PLUGIN_PLUGIN_VERSION = "3.12.0"; + protected static final String PLUGIN_PLUGIN_VERSION = "4.0.0-SNAPSHOT"; protected static final String RAR_PLUGIN_VERSION = "3.0.0";