History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25594
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Anton Makeev
Reporter: Ben Gidley
Votes: 3
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Parent POM properties are not working in child POM's

Created: 05 Mar 08 11:57   Updated: 28 Mar 08 17:29
Component/s: Maven Integration
Fix Version/s: Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive PomProblemSample.zip (12 kb)

Issue Links:
Relates
 
This issue is related to:
IDEADEV-25593 Dependency Management section is not ... Normal Resolved

Build: 7,744
Fixed in build: 8,256
Severity: High


 Description  « Hide
If you have a project (very simple example attached) that uses properties in the parent POM to set the version in dependency management and then use these dependencies in child POMs (this is a common pattern used by Spring, Tapestry, Jetty and many other projects) it can't resolve the property.

This worked in 7.0.2.

To reproduce open attached project POM into IntelliJ



 All   Comments   Work Log   Change History      Sort Order:
Ben Gidley - 23 Mar 08 15:03
I have created a test case and logged this with the maven embedder project - http://jira.codehaus.org/browse/MNG-3479

Ben Gidley - 23 Mar 08 15:53
While doing the test case I have proven this works correctly with JAR type dependencies but not POM type dependencies. So a hack to fix is to copy the offending pom, change it to type jar and it will work.