You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/05/26 07:42:00 UTC
[jira] [Closed] (MNG-6912) File based profile activation results in
absolute paths in OriginalModel
[ https://issues.apache.org/jira/browse/MNG-6912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-6912.
-------------------------------
Resolution: Duplicate
> 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
> Priority: Major
>
> 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)