This is an automated email from the ASF dual-hosted git repository.

sjaranowski pushed a commit to branch maven-3.9.x
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/maven-3.9.x by this push:
     new 488b61c943 [MNG-8717] Remove 
maven-plugin-plugin:addPluginArtifactMetadata from default binding
488b61c943 is described below

commit 488b61c943d4f2f71e133d4161e3fd72f04a7348
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sat May 3 11:05:09 2025 +0200

    [MNG-8717] Remove maven-plugin-plugin:addPluginArtifactMetadata from 
default binding
---
 .../src/main/resources/META-INF/plexus/default-bindings.xml    |  3 +--
 .../java/org/apache/maven/lifecycle/LifecycleExecutorTest.java | 10 +++-------
 2 files changed, 4 insertions(+), 9 deletions(-)

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 c2c6402687..9933058de2 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
               </test>
               <package>
-                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
               </package>
               <install>
                 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 6cafb13cea..a5f45d7cb9 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",

Reply via email to