Apache Maven Shade Plugin Version 2.4.2 Released
The Apache Maven team is pleased to announce the release of the Apache Maven Shade Plugin, version 2.4.2.
This plugin provides the capability to package the artifact in an uber-jar, including its dependencies and to shade - i.e. rename - the packages of some of the dependencies.
You should specify the version in your project's plugin configuration:
1<plugin>
2 <groupId>org.apache.maven.plugins</groupId>
3 <artifactId>maven-shade-plugin</artifactId>
4 <version>2.4.2</version>
5</plugin>
You can download the appropriate sources etc. from the download page.
Release Notes - Maven Shade Plugin - Version 2.4.2
Bugs:
- MSHADE-172 - "java.lang.ArithmeticException: / by zero" in MinijarFilter
- MSHADE-190 - Shade does not relocate the contents of META-INF/services files
- MSHADE-209 - [REGRESSION] "java.lang.ArithmeticException: / by zero" in MinijarFilter (reporter Jon McLean).
Improvements:
- MSHADE-205 - Better use of ClazzpathUnit for improved jar minimization (contributation of Benoit Perrot).
- MSHADE-207 - Replace wrong link to codehaus with correct location
- MSHADE-210 - Upgrade maven-plugins parent to version 28.
- MSHADE-211 - Keep Java 1.5
Enjoy,
-The Apache Maven team
Thanks to contributors and reporters.