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

Implement 'automatic relocation of dependencies'

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.2.1
    • 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

            Unassigned Unassigned
            peng Peng Cheng
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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