You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2006/04/09 21:02:48 UTC

[jira] Closed: (MEAR-25) EAR plugin fails when project contains a dependency of type pom

     [ http://jira.codehaus.org/browse/MEAR-25?page=all ]
     
Stephane Nicoll closed MEAR-25:
-------------------------------

     Resolution: Fixed
    Fix Version: 2.2

This is fixed. Thanks for the report.

> EAR plugin fails when project contains a dependency of type pom
> ---------------------------------------------------------------
>
>          Key: MEAR-25
>          URL: http://jira.codehaus.org/browse/MEAR-25
>      Project: Maven 2.x Ear Plugin
>         Type: Bug

>     Versions: 2.1, 2.0
>     Reporter: Evan Deaubl
>     Assignee: Stephane Nicoll
>      Fix For: 2.2

>
>
> I have a project that constructs an EAR as an artifact, and it references a dependency of type pom, which is simply a project that lists dependencies provided by the platform we are deploying on (jboss).  When I attempt to build the EAR, I receive the following error:
> [ERROR] FATAL ERROR
> [INFO] ----------------------------------------------------------------------------
> [INFO] Could not handle artifact type[pom]
> [INFO] ----------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalStateException: Could not handle artifact type[pom]
>         at org.apache.maven.plugin.ear.EarModuleFactory.newEarModule(EarModuleFactory.java:75)
>         at org.apache.maven.plugin.ear.AbstractEarMojo.execute(AbstractEarMojo.java:119)
>         at org.apache.maven.plugin.ear.GenerateApplicationXmlMojo.execute(GenerateApplicationXmlMojo.java:96)
> ...trimmed output here...
> To my way of thinking, pom dependencies are Maven-internal, and should be ignored by the EAR plugin.

-- 
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