[
http://jira.codehaus.org/browse/MNG-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jason van Zyl closed MNG-3479.
------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 3.x)
> Maven Embedder incorrectly resolves properties in multiprojects and
> incorrectly resolves dependency management for POM dependencies
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-3479
> URL: http://jira.codehaus.org/browse/MNG-3479
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Embedding
> Affects Versions: 3.0
> Reporter: Ben Gidley
> Attachments: MultiprojectTestCase.patch
>
>
> Maven Embedder incorrectly resolves properties in multiprojects and
> incorrectly resolves dependency management for POM dependencies
> This was first noticed using IntelliJ embedder - see JIRA's are
> * http://www.jetbrains.net/jira/browse/IDEA-17318 - Parent POM properties are
> not working in child POM's
> * http://www.jetbrains.net/jira/browse/IDEA-17320 - Dependency Management
> section is not cascading correctly
> The first issue prevents maven embedder from parsing a child POM that uses a
> parent POM to set the version of an artifact, if the parent POM using
> properties to set the version.
> The second issue shows even if you set the version explicitly the parent
> POM's dependency management section does not cascade in embedder (but it does
> in maven) correctly for POM type dependencies.
> I have written a unit test (attached) to embedder to test for this. But am
> unsure how to fix.
--
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