diff --git a/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml b/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml index c2c6402687a0..9933058de2d1 100644 --- a/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml +++ b/maven-core/src/main/resources/META-INF/plexus/default-bindings.xml @@ -173,8 +173,7 @@ Mappings to default lifecycle, specific for each packaging. org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test - org.apache.maven.plugins:maven-jar-plugin:3.4.1:jar, - org.apache.maven.plugins:maven-plugin-plugin:3.13.1:addPluginArtifactMetadata + org.apache.maven.plugins:maven-jar-plugin:3.4.1:jar org.apache.maven.plugins:maven-install-plugin:3.1.2:install diff --git a/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java b/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java index 6cafb13ceabd..a5f45d7cb927 100644 --- a/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java +++ b/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java @@ -225,11 +225,10 @@ public void testCalculationOfBuildPlanWithMultipleExecutionsOfModello() throws E // [12] compiler:testCompile // [13] surefire:test // [14] jar:jar - // [15] plugin:addPluginArtifactMetadata - // [16] install:install + // [15] install:install // - assertEquals(16, executions.size()); + assertEquals(15, executions.size()); assertEquals("clean:clean", executions.get(0).getMojoDescriptor().getFullGoalName()); assertEquals("it:xpp3-writer", executions.get(1).getMojoDescriptor().getFullGoalName()); @@ -249,10 +248,7 @@ public void testCalculationOfBuildPlanWithMultipleExecutionsOfModello() throws E "compiler:testCompile", executions.get(11).getMojoDescriptor().getFullGoalName()); assertEquals("surefire:test", executions.get(12).getMojoDescriptor().getFullGoalName()); assertEquals("jar:jar", executions.get(13).getMojoDescriptor().getFullGoalName()); - assertEquals( - "plugin:addPluginArtifactMetadata", - executions.get(14).getMojoDescriptor().getFullGoalName()); - assertEquals("install:install", executions.get(15).getMojoDescriptor().getFullGoalName()); + assertEquals("install:install", executions.get(14).getMojoDescriptor().getFullGoalName()); assertEquals( "src/main/mdo/remote-resources.mdo",