Herve Boutemy created MNG-5612:
----------------------------------

             Summary: 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


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)

Reply via email to