Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-729

Ability to additional ArtifactHandlers using external components.xml

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-1
    • 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

          Activity

            People

              brett Brett Porter
              dantran Dan Tran
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: