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.

Benjamin Bentmann
added a comment - 06/Sep/09 11:07 Paul, can you be more specific why the "fine-grained control of which classes from the selected dependencies are included" from the example Selecting Contents for Uber JAR does not work?