You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Shane Isbell (JIRA)" <ji...@codehaus.org> on 2008/10/02 06:26:08 UTC

[jira] Commented: (MNG-1943) MavenProject::getParent() returns a MavenProject that is NOT interpolated

    [ http://jira.codehaus.org/browse/MNG-1943?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=149602#action_149602 ] 

Shane Isbell commented on MNG-1943:
-----------------------------------

3.0 does interpolation of the parent. I wasn't able to get the attached IT to run, as it is relying on old, non-existent snapshots.

> MavenProject::getParent() returns a MavenProject that is NOT interpolated
> -------------------------------------------------------------------------
>
>                 Key: MNG-1943
>                 URL: http://jira.codehaus.org/browse/MNG-1943
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>            Reporter: John Allen
>            Priority: Blocker
>             Fix For: 3.0
>
>         Attachments: mng-1943-test.zip
>
>
> Plugin developers repeatedly use ${project}.getParent().someMethod() yet getParent() returns a project that has not been interpolated. This obviously needs to be fixed but may I also suggest that all plugin acceptance testing is revisted to ensure that the tests use POMs that are littered with property expressions and not literals.

-- 
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