Apache Maven Shade Plugin Version 3.1.0 Released

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

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

You can download the appropriate sources etc. from the download page.

You can download the appropriate sources etc. from the download page.

Release Notes - Maven Shade Plugin - Version 3.1.0.

Bugs:

  • MSHADE-242 - Plugin does not work with Java 9
  • MSHADE-247 - NullpointerException when createSourcesJar = true and source jar cannot be found
  • MSHADE-253 - NullPointerException if minimizeJar == true && packaging == pom
  • MSHADE-255 - IllegalArgumentException on relocating class
  • MSHADE-258 - RemappingClassAdapter is deprecated and throws an exception with ASM 6.0 beta

Improvement:

  • MSHADE-257 - Bad zero length source jars published by 3rd parties cause source jar creation to fail.

Enjoy,

-The Apache Maven team