Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-beta-1
-
None
-
xp
Description
I have a need to add a new ArtifactHandler using my own components.xml. It turns out the the setting is ignored unless I
merge my xml to maven-artifact/src/main/resources/META-INF/plexus/components.xml and bootstrap m2 to take affect.
Here is an example of my components declaration
<component>
<role>org.apache.maven.artifact.handler.ArtifactHandler</role>
<role-hint>native</role-hint>
<implementation>org.apache.maven.artifact.handler.DefaultArtifactHandler</implementation>
<configuration>
<type>dll</type>
<extension>dll</extension>
<packaging>native</packaging>
</configuration>
</component>
Attachments
Issue Links
- relates to
-
MNG-4654 Maven erroneously selects artifact handler contributed by extension plugin for use with project main artifact based on the handler's packaging rather than type
- Closed