Uploaded image for project: 'Maven'
  1. Maven
  2. 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

    XMLWordPrintableJSON

    Details

      Description

      This is mostly to track the result of Compilation problem with Maven 3.0-beta-1 reported by Henrique Prange. In essence, given an artifact handler with

      <configuration>
        <type>woframework</type>
        <extension>jar</extension>
        <packaging>jar</packaging>
      </configuration>
      

      and a project with <packaging>woframework</packaging> using an extension plugin contributing the above artifact handler, Maven ignores the artifact handler because it tries to match project.packaging with artifactHandler.packaging. As a result, the project's main artifacts ends up being installed/deployed with the file extension "woframework" instead of "jar".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                bentmann Benjamin Bentmann
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: