Uploaded image for project: 'Maven Shade Plugin'
  1. Maven Shade Plugin
  2. MSHADE-328

Implement 'automatic relocation of dependencies'

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.1
    • Fix Version/s: None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peng Peng Cheng
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - 672h
                672h
                Remaining:
                Remaining Estimate - 672h
                672h
                Logged:
                Time Spent - Not Specified
                Not Specified