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

[jira] [Closed] (MNG-8544) Conflicting extensions are silently ignored; extension is not loaded

     [ https://issues.apache.org/jira/browse/MNG-8544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Cservenak closed MNG-8544.
--------------------------------
    Resolution: Fixed

> Conflicting extensions are silently ignored; extension is not loaded
> --------------------------------------------------------------------
>
>                 Key: MNG-8544
>                 URL: https://issues.apache.org/jira/browse/MNG-8544
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 4.0.0-rc-2
>            Reporter: Tamas Cservenak
>            Assignee: Tamas Cservenak
>            Priority: Blocker
>             Fix For: 4.0.0-rc-3
>
>
> Maven4 now supports user {{extensions.xml}} as well.
> If you have user extensions in {{~/.m2/extensions.xml}} and project extensions in {{.mvn/extensions.xml}} for same extension, this causes silent error: ClassWorlds will throw "duplicate realm" (assuming the two XML references same extension), basically same extension is attempted to be loaded up twice.



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