You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2025/03/28 17:59:00 UTC

[jira] [Commented] (MNG-7635) Investigate how to safely propagate user properties to dependencies (see MNG-5982 and MNG-7417)

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

Guillaume Nodet commented on MNG-7635:
--------------------------------------

We'd have to be extra-cautious about letting user properties override stuff in dependencies.  This should generally *not* happen.
One valid exception would be for OS-platform activated profiles (a la {{javafx}}) maybe.  I'm not even sure we should support {{system}} scope.  The only real valid use case was for the JDK, but is long gone afaik.

> Investigate how to safely propagate user properties to dependencies (see MNG-5982 and MNG-7417)
> -----------------------------------------------------------------------------------------------
>
>                 Key: MNG-7635
>                 URL: https://issues.apache.org/jira/browse/MNG-7635
>             Project: Maven
>          Issue Type: Task
>            Reporter: Michael Osipov
>            Priority: Major
>
> Based on the linked issue we need to investigate, fix and document how a user can safely and explicitly override model properties in dependencies with user properties without interfering with model properties he cannot see burried in transitive POMs.



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