You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2009/04/20 08:42:44 UTC
[jira] Updated: (MNG-4140) Properties incorrectly replaced in pom
[ http://jira.codehaus.org/browse/MNG-4140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-4140:
------------------------------
Fix Version/s: 2.1.1
yes, I think plugin configuration, and possible properties, need to be excluded form this rule
> Properties incorrectly replaced in pom
> --------------------------------------
>
> Key: MNG-4140
> URL: http://jira.codehaus.org/browse/MNG-4140
> Project: Maven 2
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Reinhard Nägele
> Priority: Critical
> Fix For: 2.1.1
>
> Attachments: pom-transformed.xml, pom.xml
>
>
> The attached sample pom configures the dependency plugin. During an install, {{$\{project.version\}}} is replaced by the actual version when in fact no replacement at all must happen (see {{pom-transformed.xml}}). This seems to be related to the {{version}}, since all other properties remain unchanged.
> In our real world scenario, the dependency plugin is configured in a profile in order to copy child module artifacts to Luntbuild's publish directory. This, of course, won't work if the version is replaced during install. It must be evaluated at runtime.
> This is a regression in Maven 2.1.0. Maven 2.0.10 does not have the problem.
--
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