[ 
https://jira.codehaus.org/browse/MNG-5608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy closed MNG-5608.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.2.2
         Assignee: Herve Boutemy

warning added in 
[64c41950|http://git-wip-us.apache.org/repos/asf/maven/commit/64c41950]
IT added in 
[f15c2022|http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/f15c2022]

sample warning text from IT execution:
{noformat}[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.apache.maven.its.mng5608:profile-test:pom:1
[WARNING] Failed to interpolate file location ${project.basedir}/pom.xml for 
profile mng-5608-exists-project.basedir: ${project.basedir} expression not 
supported during profile activation, use ${basedir} instead @ line 56, column 19
[WARNING] Failed to interpolate file location ${project.basedir}/pom.xml for 
profile mng-5608-missing-project.basedir: ${project.basedir} expression not 
supported during profile activation, use ${basedir} instead @ line 67, column 20
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] {noformat}

> warn if file-based profile activation uses ${project.basedir} since only 
> ${basedir} is supported
> ------------------------------------------------------------------------------------------------
>
>                 Key: MNG-5608
>                 URL: https://jira.codehaus.org/browse/MNG-5608
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Profiles
>    Affects Versions: 3.2.1
>            Reporter: Herve Boutemy
>            Assignee: Herve Boutemy
>             Fix For: 3.2.2
>
>
> documentation was improved in MNG-5590
> but adding a warning will help users discover the documentation



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to