diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java index 27f612f3ce..72a9c095f2 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java @@ -21,7 +21,6 @@ package org.apache.maven.lifecycle.mapping; import java.util.Collections; import java.util.LinkedHashMap; -import java.util.List; import java.util.Map; @@ -40,13 +39,6 @@ public class Lifecycle */ private Map lifecyclePhases; - /* - * NOTE: This exists merely for backward-compat with legacy-style lifecycle definitions and allows configuration - * injection to work instead of failing. - */ - @SuppressWarnings( "unused" ) - private List optionalMojos; - /** * Method getId */ diff --git a/maven-core/src/test/resources/META-INF/plexus/components.xml b/maven-core/src/test/resources/META-INF/plexus/components.xml index 714cb36b4d..6aa5a0616f 100644 --- a/maven-core/src/test/resources/META-INF/plexus/components.xml +++ b/maven-core/src/test/resources/META-INF/plexus/components.xml @@ -76,9 +76,6 @@ org.apache.maven.plugins:maven-install-plugin:install org.apache.maven.plugins:maven-deploy-plugin:deploy - - org.apache.maven.plugins:maven-site-plugin:attach-descriptor - @@ -101,13 +98,10 @@ org.apache.maven.plugins:maven-install-plugin:install org.apache.maven.plugins:maven-deploy-plugin:deploy - - org.apache.maven.plugins:maven-site-plugin:attach-descriptor - - \ No newline at end of file +