You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/07/22 17:39:57 UTC

[jira] Closed: (MNG-593) artifact versions not inherited

     [ http://jira.codehaus.org/browse/MNG-593?page=all ]
     
Brett Porter closed MNG-593:
----------------------------

     Assign To: Brett Porter
    Resolution: Fixed

what this actually was was a dependency appearing twice in the list due to inheritence assembly and only one being populated with the defaults injector. Now ensuring the list only gets one.

> artifact versions not inherited 
> --------------------------------
>
>          Key: MNG-593
>          URL: http://jira.codehaus.org/browse/MNG-593
>      Project: Maven 2
>         Type: Bug
>     Reporter: Kenney Westerhof
>     Assignee: Brett Porter
>     Priority: Critical
>      Fix For: 2.0-beta-1

>
>
> Artifact versions are not inherited in the following case:
> (using short notation:  X.pom = project-X/pom.xml)
> root.pom: 
>   packaging pom
>   dependencyManagement: defines a version for artifact X
> componentgroup.pom: 
>   packaging pom
>   parent pom: root.pom
>   dependencies: depends on artifact X, does not define a version
> component.pom:
>   packaging ejb:
>   parent pom: componentgroup.pom
>   dependencies: none
> I get a 'version cannot be null' error.
> When component.pom defines the dependency itself (no version either),
> and extends root.pom directly, there's no problem.
> I just want to specify a common dependency in a group!
> Btw, installing 'componentgroup.pom' works as expected.

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