You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/28 14:58:02 UTC

[jira] [Commented] (MNG-5612) effective pom should not contain file-based profile activation fully interpolated but with limited interpolation like seen during profile activation

    [ https://issues.apache.org/jira/browse/MNG-5612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069516#comment-17069516 ] 

Hudson commented on MNG-5612:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> 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://issues.apache.org/jira/browse/MNG-5612
>             Project: Maven
>          Issue Type: Bug
>          Components: Profiles
>    Affects Versions: 3.2.1
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>            Priority: Major
>             Fix For: issues to be reviewed 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
(v8.3.4#803005)