You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2005/09/19 08:27:12 UTC

[jira] Updated: (MNG-871) propagate the type attribute of a pom up to the dependency when dependency doesn't specify it

     [ http://jira.codehaus.org/browse/MNG-871?page=all ]

Stephane Nicoll updated MNG-871:
--------------------------------

    Comment: was deleted

> propagate the type attribute of a pom up to the dependency when dependency doesn't specify it
> ---------------------------------------------------------------------------------------------
>
>          Key: MNG-871
>          URL: http://jira.codehaus.org/browse/MNG-871
>      Project: Maven 2
>         Type: Bug
>   Components: maven-core
>     Reporter: Adam Hardy

>
>
> Using maven-ear-plugin, I have two dependencies in my project and I left out the types when I declared the dependencies. 
> maven-ear-plugin generated an application.xml descriptor for the EAR file, but left out the module declarations which it should have generated for the EJB dependencies, because the dependency types defaulted to JAR.
> The dependencies are not updated to reflect the type of the pom associated with it, and hence type has to be specified, yet it is possible to leave it out. 
> However, since the type information is available in the pom, it would be very convenient if m2 just propagated that back to the dependency.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org