You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2008/07/04 04:22:31 UTC

[jira] Updated: (MNG-3479) Maven Embedder incorrectly resolves properties in multiprojects and incorrectly resolves dependency management for POM dependencies

     [ http://jira.codehaus.org/browse/MNG-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason van Zyl updated MNG-3479:
-------------------------------

    Fix Version/s:     (was: 2.1-alpha-1)
                   2.1-alpha-2

> 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
>          Issue Type: Bug
>          Components: Embedding
>    Affects Versions: 2.1
>            Reporter: Ben Gidley
>             Fix For: 2.1-alpha-2
>
>         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