You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Peng Cheng (Jira)" <ji...@apache.org> on 2019/09/12 04:13:00 UTC

[jira] [Created] (MSHADE-328) Implement 'automatic relocation of dependencies'

Peng Cheng created MSHADE-328:
---------------------------------

             Summary: Implement 'automatic relocation of dependencies'
                 Key: MSHADE-328
                 URL: https://issues.apache.org/jira/browse/MSHADE-328
             Project: Maven Shade Plugin
          Issue Type: New Feature
    Affects Versions: 3.2.1
            Reporter: Peng Cheng


This feature intend to introduce the same feature in shadow plugin for gradle:

 

[https://imperceptiblethoughts.com/shadow/configuration/relocation/#automatically-relocating-dependencies]

 

package relocation is the only reliable defense against jar hell and usually can only be done at the final assembly stage (before that it is impossible to determine which package requires relocation). Thus, it cannot be conducted in a divide-and-conquer manner and requires enormous effort and a very complex process to be configured manually.

 

Maven should automate this process by analyzing the dependency tree and relocate package whenever there is a version conflict



--
This message was sent by Atlassian Jira
(v8.3.2#803003)