Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
Description
Version 3.3.0 of maven shade plugin seems to append "\x00" bytes to a file if it's less than 4 bytes:
$ echo -n a > src/main/resources/test.txt $ mvn clean install ... $ bsdtar -xOf target/original-shadetest-0.0.0.jar test.txt | xxd 00000000: 61 a $ bsdtar -xOf target/shadetest-0.0.0.jar test.txt | xxd 00000000: 6100 0000 a...
I've attached a basic pom.xml that triggers this. This doesn't occur in the previous version, 3.2.4.
Attachments
Attachments
Issue Links
- is broken by
-
MSHADE-378 Shade plugin changes the compression level of nested jar entries
-
- Closed
-
- links to