You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sébastien Arbogast (JIRA)" <ji...@codehaus.org> on 2006/08/23 00:48:48 UTC

[jira] Created: (MPIDEA-47) Unnecessary request for version number in dependencyManagement section

Unnecessary request for version number in dependencyManagement section
----------------------------------------------------------------------

                 Key: MPIDEA-47
                 URL: http://jira.codehaus.org/browse/MPIDEA-47
             Project: maven-idea-plugin
          Issue Type: Bug
    Affects Versions: 1.7
            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

       

[jira] Moved: (MIDEA-65) Unnecessary request for version number in dependencyManagement section

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ 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