You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Arnoud Glimmerveen (Jira)" <ji...@apache.org> on 2020/05/22 06:09:00 UTC

[jira] [Created] (MNG-6912) File based profile activation results in absolute paths in OriginalModel

Arnoud Glimmerveen created MNG-6912:
---------------------------------------

             Summary: File based profile activation results in absolute paths in OriginalModel
                 Key: MNG-6912
                 URL: https://issues.apache.org/jira/browse/MNG-6912
             Project: Maven
          Issue Type: Bug
    Affects Versions: 3.6.3
            Reporter: Arnoud Glimmerveen


If a project has one or more profiles activated using file(s), the _OriginalModel_ that a maven plugin can obtain from the MavenProject, holds the absolute path to these files, rather than the raw value from the pom.xml file.

This is caused by the DefaultModelBuilder using the 'rawModel' to determine the active profiles, which has the side-effect of interpolating the files to absolute paths.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)