Maven erroneously selects artifact handler contributed by extension plugin for
use with project main artifact based on the handler's packaging rather than type
---------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: MNG-4654
URL: http://jira.codehaus.org/browse/MNG-4654
Project: Maven 2 & 3
Issue Type: Bug
Components: Artifacts and Repositories
Affects Versions: 2.2.1
Reporter: Benjamin Bentmann
This is mostly to track the result of [Compilation problem with Maven
3.0-beta-1|http://www.mail-archive.com/[email protected]/msg84507.html]
reported by Henrique Prange. In essence, given an artifact handler with
{code:xml}
<configuration>
<type>woframework</type>
<extension>jar</extension>
<packaging>jar</packaging>
</configuration>
{code}
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}}.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira