Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Anton Makeev 
Subsystem
Maven Integration 
Affected versions
Fixed in
Fixed in build
Next build 
  • Submitted by   Ben Gidley
    2 years ago (05 Mar 2008 14:04)
  • Updated by   root
    6 months ago (17 Jan 2010 19:58)
  • Jira: IDEA-43067
    (history, comments)
IDEA-43067 Dependency Management section is not cascading correctly
3

Attachments

PomProblemSample.zip   (92 KB)
In Maven you can usually set a project up so that the parent POM dependency management sets excludes for all child projects. This works with both POM and jar dependencies.

In IntelliJ 7.0.2 this works perfectly.

In build 7744 it appears not to be matching the dependency management to the dependency in the child POM.

In the attached project the child does not pick up the version at all from the parents dependency management section. This only impacts POM dependencies. Adding the version explicitly works around this project but loses the exclusions from the parent POM.

The 'correct' behaviour is seen in 7.0.2

Issue was resolved
Comments (1)
 
History
 
Linked Issues (0)
 
Ben Gidley
  Ben Gidley
23 Mar 2008 15:03
(2 years ago)
I have created a test case and logged this with the maven embedder project - http://jira.codehaus.org/browse/MNG-3479