Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: