Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.4
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
The current version of the maven-shade-plugin only support jar and equal structured packaging types, but it would be great if it could shade war-files as well.
At least the following should be changed:
- shaded classes shouldn't be placed in the root, but in WEB-INF/classes
- shaded artifacts should be removed from WEB-INF/lib
Issue Links
- is duplicated by
-
MSHADE-117
Add war packaged artifact support
-
Switching to commons-compress would allow shade to be applied to a variety of output formats. Given the ability to declare a structure (as suggested in this issue) this would make shade a powerful tool for application assembly.
I would therefore favour a more general approach to the problem of structure, perhaps with convenience shortcuts for common formats. Not sure about the best way to describe it, though.