[
https://jira.codehaus.org/browse/MNG-5612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy closed MNG-5612.
------------------------------
Resolution: Fixed
Fix Version/s: 3.2.2
done in [c1757897|http://git-wip-us.apache.org/repos/asf/maven/commit/c1757897]
> effective pom should not contain file-based profile activation fully
> interpolated but with limited interpolation like seen during profile
> activation
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-5612
> URL: https://jira.codehaus.org/browse/MNG-5612
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Profiles
> Affects Versions: 3.2.1
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Fix For: 3.2.2
>
>
> mvn help:effective-pom on a pom.xml containing
> {code:xml} <profile>
> <activation>
> <file>
> <exists>${project.basedir}/pom.xml</exists>
> </file>
> </activation>{code}
> shows interpolated value, which points to an existing file then is misleading
> but the profile isn't activated since $\{project.basedir} isn't interpreted
> during profile activation
> we added a warning in MNG-5608, but showing the value interpolated exactly as
> done during profile interpolation would be more logic
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)