You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jussi Vesala (JIRA)" <ji...@codehaus.org> on 2007/11/07 10:21:36 UTC

[jira] Commented: (MNG-2640) Expressions in POMs are not modified when the Maven Project is updated

    [ http://jira.codehaus.org/browse/MNG-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_113061 ] 

Jussi Vesala commented on MNG-2640:
-----------------------------------

Hello!

Do we have any news on this? Fixing this would make my life a lot easier.

> Expressions in POMs are not modified when the Maven Project is updated
> ----------------------------------------------------------------------
>
>                 Key: MNG-2640
>                 URL: http://jira.codehaus.org/browse/MNG-2640
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 2.0.4
>            Reporter: Vincent Massol
>             Fix For: Reviewed Pending Version Assignment
>
>         Attachments: MNG-2640.diff
>
>
> In the Clover plugin I'm modifying the finalName with:
> {code:java}
> getProject().getBuild().setFinalName( getProject().getArtifactId() + "-" + getProject().getVersion() + "-clover" );
> {code}
> This works fine and all subsequent plugins using the MavenProject object do work fine. However if the user uses, say, the AntRun plugin and uses the ${project.build.fineName} expression in his POM it'll return the original value and not the one modified by the Clover plugin. For example if the user is using the AntRun plugin combined with xdoclet Ant tasks to generate files, they won't be put in the correct target directories when used with the Clover plugin and the build will fail...
> See http://jira.codehaus.org/browse/MCLOVER-59 for an issue filed against the Clover plugin on this.
> I think we need a way for reevaluating interpolated expressions when the model is changed.
> Thanks
> -Vincent

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