[
https://jira.codehaus.org/browse/MNG-5612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MNG-5612:
-------------------------------
Fix Version/s: 3.0.6
> 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
> Issue Type: Bug
> Components: Profiles
> Affects Versions: 3.2.1
> Reporter: Herve Boutemy
> Assignee: Herve Boutemy
> Fix For: 3.0.6, 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)