Apache Maven Shade Plugin Version 2.4 Released

The Apache Maven team is pleased to announce the release of the Apache Maven Shade Plugin, version 2.4.

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</version>
5</plugin>

Release Notes - Maven Shade Plugin - Version 2.4

Bugs:

  • MSHADE-155 - dependency-reduced-pom should use shadedArtifactId
  • MSHADE-169 - Typos in warning message
  • MSHADE-172 - "java.lang.ArithmeticException: / by zero" in MinijarFilter
  • MSHADE-174 - Unable to shade Java 8 jarfiles with static interface methods using minimizeJar
  • MSHADE-183 - Getting "Error creating shaded jar: java.util.jar.Attributes cannot be cast to java.lang.String" error when using ManifestResourceTransformer with Maven 3.2.5
  • MSHADE-185 - systemPath content is interpolated for system dependencies

Improvements:

Enjoy,

-The Apache Maven team