Maven Shade Plugin
  1. Maven Shade Plugin
  2. MSHADE-91

Allow using external Shader implementation

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.6
    • Labels:
      None
    • Environment:
      N/A

      Description

      Currently if multiple shaded artifacts contain the same fully-qualified class name, the plugin issues a warning on the console like this:

      [WARNING] We have a duplicate foo.bar.Baz.class in <path-to-jar-in-local-repo>

      In many cases such duplicates are a serious problem, e.g. when they are not the same version of that class.

      It would therefore be useful if the plugin (specifically the DefaultShader class) provided the option of failing the build if any duplicates are detected. This would be particularly useful in a continuous integration environment where there's no human operator to check the console output for warnings.

        Issue Links

          Activity

          Mark Thomas made changes -
          Workflow jira [ 12963652 ] Default workflow, editable Closed status [ 12999578 ]
          Mark Thomas made changes -
          Project Import Mon Apr 06 01:14:06 UTC 2015 [ 1428282846586 ]
          Mark Thomas made changes -
          Workflow jira [ 12725905 ] Default workflow, editable Closed status [ 12764108 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 12:26:34 UTC 2015 [ 1428236794734 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Fix Version/s 1.6 [ 18042 ]
          Assignee Olivier Lamy [ olamy ]
          Olivier Lamy (*$^¨%`£) made changes -
          Summary Allow failing of build if overlapping classes are detected Allow using external Shader implementation
          Robert Burrell Donkin made changes -
          Link This issue is related to MSHADE-96 [ MSHADE-96 ]
          Andrew Swan made changes -
          Field Original Value New Value
          Attachment MSHADE-91.patch [ 52738 ]
          Andrew Swan created issue -

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Andrew Swan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development