You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "nielsbasjes (via GitHub)" <gi...@apache.org> on 2023/03/26 16:07:29 UTC

[GitHub] [maven] nielsbasjes commented on pull request #1075: [MNG-7750] Executions for plugins from an active profile are interpolated in the originalModel.

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

   My suspicion was correct.
   A plugin from a profile was being referenced (not cloned) from the `originalModel` fully if it was not present at the global scale yet, and only the `execution` was referenced (not cloned) if it was and only the execution needed to be available.
   Later the interpolation would then change the one in the `originalModel` also because it was simply referenced.
   
   Close inspection of the code showed the exact same problem for the `reporting plugins` and each `reportSet`.
   
   This affects only the plugins in the active profiles as they are the only ones for which this link is created.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org