You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2026/07/31 16:32:11 UTC

(maven-plugin-tools) branch master updated: Remove Plexus component configuration

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

slawekjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git


The following commit(s) were added to refs/heads/master by this push:
     new afe2de8d Remove Plexus component configuration
afe2de8d is described below

commit afe2de8d467386c9873198728a30c8743506fe0c
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Thu Jul 30 23:59:30 2026 +0200

    Remove Plexus component configuration
    
    ArtifactHandler and LifecycleMapping for maven-plugin is defined in Maven
---
 maven-plugin-plugin/pom.xml                        |  9 ---
 .../META-INF/plexus/components.xml                 | 93 ----------------------
 2 files changed, 102 deletions(-)

diff --git a/maven-plugin-plugin/pom.xml b/maven-plugin-plugin/pom.xml
index 020f5872..95681691 100644
--- a/maven-plugin-plugin/pom.xml
+++ b/maven-plugin-plugin/pom.xml
@@ -155,15 +155,6 @@
   </dependencies>
 
   <build>
-    <resources>
-      <resource>
-        <directory>src/main/resources</directory>
-      </resource>
-      <resource>
-        <filtering>true</filtering>
-        <directory>src/main/filtered-resources</directory>
-      </resource>
-    </resources>
     <pluginManagement>
       <plugins>
         <plugin>
diff --git a/maven-plugin-plugin/src/main/filtered-resources/META-INF/plexus/components.xml b/maven-plugin-plugin/src/main/filtered-resources/META-INF/plexus/components.xml
deleted file mode 100644
index 28a4dbd7..00000000
--- a/maven-plugin-plugin/src/main/filtered-resources/META-INF/plexus/components.xml
+++ /dev/null
@@ -1,93 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements. See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership. The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License. You may obtain a copy of the License at
-
-  http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied. See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-
-<component-set>
-  <components>
-    <!--
-     | MAVEN PLUGIN
-     |-->
-    <component>
-      <role>org.apache.maven.artifact.handler.ArtifactHandler</role>
-      <role-hint>maven-plugin</role-hint>
-      <implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
-      <configuration>
-        <type>maven-plugin</type>
-        <extension>jar</extension>
-        <language>java</language>
-        <addedToClasspath>true</addedToClasspath>
-      </configuration>
-    </component>
-    
-    <!--
-      | Defining the phases with their appropriate plugins
-      ! and versions which will be executed during the 'default'
-      ! life cycle.
-    -->
-    <!--
-     | MAVEN PLUGIN
-     |-->
-    <component>
-      <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
-      <role-hint>maven-plugin</role-hint>
-      <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
-      <configuration>
-        <lifecycles>
-          <lifecycle>
-            <id>default</id>
-            <!-- START SNIPPET: maven-plugin-lifecycle -->
-            <phases>
-              <process-resources>
-                org.apache.maven.plugins:maven-resources-plugin:${version.maven-resources-plugin}:resources
-              </process-resources>
-              <compile>
-                org.apache.maven.plugins:maven-compiler-plugin:${version.maven-compiler-plugin}:compile
-              </compile>
-              <process-classes>
-                org.apache.maven.plugins:maven-plugin-plugin:${project.version}:descriptor
-              </process-classes>
-              <process-test-resources>
-                org.apache.maven.plugins:maven-resources-plugin:${version.maven-resources-plugin}:testResources
-              </process-test-resources>
-              <test-compile>
-                org.apache.maven.plugins:maven-compiler-plugin:${version.maven-compiler-plugin}:testCompile
-              </test-compile>
-              <test>
-                org.apache.maven.plugins:maven-surefire-plugin:${version.maven-surefire}:test
-              </test>
-              <package>
-                org.apache.maven.plugins:maven-jar-plugin:${version.maven-jar-plugin}:jar,
-                org.apache.maven.plugins:maven-plugin-plugin:${project.version}:addPluginArtifactMetadata
-              </package>
-              <install>
-                org.apache.maven.plugins:maven-install-plugin:${version.maven-install-plugin}:install
-              </install>
-              <deploy>
-                org.apache.maven.plugins:maven-deploy-plugin:${version.maven-deploy-plugin}:deploy
-              </deploy>
-            </phases>
-            <!-- END SNIPPET: maven-plugin-lifecycle -->
-          </lifecycle>
-        </lifecycles>
-      </configuration>
-    </component>
-
-  </components>
-</component-set>