maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Theussl (JIRA)" <j...@codehaus.org>
Subject [jira] Moved: (MIDEA-65) Unnecessary request for version number in dependencyManagement section
Date Tue, 22 Aug 2006 22:52:48 GMT
     [ http://jira.codehaus.org/browse/MIDEA-65?page=all ]

Lukas Theussl moved MPIDEA-47 to MIDEA-65:
------------------------------------------

    Affects Version/s:     (was: 1.7)
             Workflow: Maven New  (was: jira)
                  Key: MIDEA-65  (was: MPIDEA-47)
              Project: Maven 2.x Idea Plugin  (was: maven-idea-plugin)

> Unnecessary request for version number in dependencyManagement section
> ----------------------------------------------------------------------
>
>                 Key: MIDEA-65
>                 URL: http://jira.codehaus.org/browse/MIDEA-65
>             Project: Maven 2.x Idea Plugin
>          Issue Type: Bug
>            Reporter: S├ębastien Arbogast
>
> I have a root POM with a dependencyManagement section that specifies all the version
numbers for dependencies. And in an "app" module below, I have another POM where the dependencyManagement
section is used to specify dependency exclusions, but none of these dependencies specify a
version number as it's supposed to be inherited from the parent (root) POM dependencyManagement
section. 
> Yet, when I try to run "mvn idea:idea" on the root project, I get a build failure in
the "app" module saying that the version for the dependencies cannot be null. The thing is
that it CAN be null: that's what dependencyManagement inheritance is made for. The best proof
of that is that "mvn install" on the whole project runs fine.
> I added version numbers to those dependencies and it fixed the issue, but I shouldn't
have to repeat them since they are already specified in the root POM's dependencyManagement
section. Moreover, I'm using a project generator (AndroMDA) that generates all the POM's for
me and it doesn't include version numbers at this level.
> I hope I was clear enough :oP

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

       

Mime
View raw message