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

ASF GitHub Bot commented on MNG-7750:
-------------------------------------

nielsbasjes commented on PR #1075:
URL: https://github.com/apache/maven/pull/1075#issuecomment-1484089609

   I **suspect** I have found the reason this happens.
   A model aggregates all executions for a plugin together in a list of 
executions for a single instance of that plugin.
   There these executions are linked (not cloned) from the source.
   Then when the interpolation happens the executions in the model are 
interpolated which are the same instances as are in the original.




> Interpolated properties in originalModel in an active profile.
> --------------------------------------------------------------
>
>                 Key: MNG-7750
>                 URL: https://issues.apache.org/jira/browse/MNG-7750
>             Project: Maven
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.9.1
>            Reporter: Niels Basjes
>            Priority: Major
>
> The originalModel in a MavenProject instance has some properties interpolated 
> if they are in an active profile. The same properties are NOT interpolated if 
> they are in an INactive profile or if they are outside any profile.
> This problem was first reported in 
> https://issues.apache.org/jira/browse/MSHADE-440 but turns out to have its 
> root cause in the Maven core.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to