diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java index e9c5fd711e..cd8873d1b9 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/CleanLifecycleProvider.java @@ -28,12 +28,12 @@ import javax.inject.Singleton; @Named(CleanLifecycleProvider.LIFECYCLE_ID) @Singleton public final class CleanLifecycleProvider extends AbstractLifecycleProvider { - protected static final String LIFECYCLE_ID = "clean"; + static final String LIFECYCLE_ID = "clean"; // START SNIPPET: clean private static final String[] PHASES = {"pre-clean", "clean", "post-clean"}; - private static final String MAVEN_CLEAN_PLUGIN_VERSION = "3.1.0"; + private static final String MAVEN_CLEAN_PLUGIN_VERSION = "3.2.0"; private static final String[] BINDINGS = { "clean", "org.apache.maven.plugins:maven-clean-plugin:" + MAVEN_CLEAN_PLUGIN_VERSION + ":clean" diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java index b55a3a76aa..9f7602ab69 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/DefaultLifecycleProvider.java @@ -28,7 +28,7 @@ import javax.inject.Singleton; @Named(DefaultLifecycleProvider.LIFECYCLE_ID) @Singleton public final class DefaultLifecycleProvider extends AbstractLifecycleProvider { - protected static final String LIFECYCLE_ID = "default"; + static final String LIFECYCLE_ID = "default"; // START SNIPPET: default private static final String[] PHASES = { diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/SiteLifecycleProvider.java b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/SiteLifecycleProvider.java index 6d06e641fc..8dd6439b8a 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/SiteLifecycleProvider.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/SiteLifecycleProvider.java @@ -28,14 +28,16 @@ import javax.inject.Singleton; @Named(SiteLifecycleProvider.LIFECYCLE_ID) @Singleton public final class SiteLifecycleProvider extends AbstractLifecycleProvider { - protected static final String LIFECYCLE_ID = "site"; + static final String LIFECYCLE_ID = "site"; // START SNIPPET: site private static final String[] PHASES = {"pre-site", "site", "post-site", "site-deploy"}; + private static final String MAVEN_SITE_PLUGIN_VERSION = "3.12.1"; + private static final String[] BINDINGS = { - "site", "org.apache.maven.plugins:maven-site-plugin:3.9.1:site", - "site-deploy", "org.apache.maven.plugins:maven-site-plugin:3.9.1:deploy" + "site", "org.apache.maven.plugins:maven-site-plugin:" + MAVEN_SITE_PLUGIN_VERSION + ":site", + "site-deploy", "org.apache.maven.plugins:maven-site-plugin:" + MAVEN_SITE_PLUGIN_VERSION + ":deploy" }; // END SNIPPET: site diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/WrapperLifecycleProvider.java b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/WrapperLifecycleProvider.java index 35fa80c799..a4d4ba268d 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/providers/WrapperLifecycleProvider.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/providers/WrapperLifecycleProvider.java @@ -28,12 +28,16 @@ import javax.inject.Singleton; @Named(WrapperLifecycleProvider.LIFECYCLE_ID) @Singleton public final class WrapperLifecycleProvider extends AbstractLifecycleProvider { - protected static final String LIFECYCLE_ID = "wrapper"; + static final String LIFECYCLE_ID = "wrapper"; // START SNIPPET: wrapper private static final String[] PHASES = {"wrapper"}; - private static final String[] BINDINGS = {"wrapper", "org.apache.maven.plugins:maven-wrapper-plugin:3.1.0:wrapper"}; + private static final String MAVEN_WRAPPER_PLUGIN_VERSION = "3.1.1"; + + private static final String[] BINDINGS = { + "wrapper", "org.apache.maven.plugins:maven-wrapper-plugin:" + MAVEN_WRAPPER_PLUGIN_VERSION + ":wrapper" + }; // END SNIPPET: wrapper @Inject 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 bb749b5141..d8835ac57d 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 @@ -34,29 +34,29 @@ import static java.util.Objects.requireNonNull; * Base lifecycle mapping provider, ie per-packaging plugin bindings for {@code default} lifecycle. */ public abstract class AbstractLifecycleMappingProvider implements Provider { - protected static final String RESOURCES_PLUGIN_VERSION = "3.2.0"; + protected static final String RESOURCES_PLUGIN_VERSION = "3.3.0"; - protected static final String COMPILER_PLUGIN_VERSION = "3.8.1"; + protected static final String COMPILER_PLUGIN_VERSION = "3.10.1"; - protected static final String SUREFIRE_PLUGIN_VERSION = "3.0.0-M5"; + protected static final String SUREFIRE_PLUGIN_VERSION = "3.0.0-M8"; - protected static final String INSTALL_PLUGIN_VERSION = "3.0.0-M1"; + protected static final String INSTALL_PLUGIN_VERSION = "3.1.0"; - protected static final String DEPLOY_PLUGIN_VERSION = "3.0.0-M2"; + protected static final String DEPLOY_PLUGIN_VERSION = "3.0.0"; // packaging - protected static final String JAR_PLUGIN_VERSION = "3.2.0"; + protected static final String JAR_PLUGIN_VERSION = "3.3.0"; - protected static final String EAR_PLUGIN_VERSION = "3.1.2"; + protected static final String EAR_PLUGIN_VERSION = "3.3.0"; - protected static final String EJB_PLUGIN_VERSION = "3.1.0"; + protected static final String EJB_PLUGIN_VERSION = "3.2.1"; - protected static final String PLUGIN_PLUGIN_VERSION = "3.6.0"; + protected static final String PLUGIN_PLUGIN_VERSION = "3.7.1"; - protected static final String RAR_PLUGIN_VERSION = "2.4"; // TODO: Update!!! + protected static final String RAR_PLUGIN_VERSION = "3.0.0"; - protected static final String WAR_PLUGIN_VERSION = "3.3.1"; + protected static final String WAR_PLUGIN_VERSION = "3.3.2"; private final LifecycleMapping lifecycleMapping;