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

We need an <obliterate/> element - to TRULY exclude classes from resulting jar

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      'exclusions' is misnamed - it should be 'leaveAsIs' or somesuch.

      I want to totally exclude some packages or classes from the resulting jar. As in leave them out, or kill them, or don't have them at all in the resulting jar. Neither as their original class name nor their potential new class name.

      Perforce has an 'obliterate' concept, given exclude is already used in shade, maybe obliterate is the new element for this essential feature.

        Activity

        Paul Hammant created issue -
        Benjamin Bentmann made changes -
        Field Original Value New Value
        Resolution Won't Fix [ 2 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 12:26:34 UTC 2015 [ 1428236794734 ]
        Mark Thomas made changes -
        Workflow jira [ 12725876 ] Default workflow, editable Closed status [ 12764131 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 01:14:06 UTC 2015 [ 1428282846586 ]
        Mark Thomas made changes -
        Workflow jira [ 12963646 ] Default workflow, editable Closed status [ 12999397 ]

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Paul Hammant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development