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

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
2
3
4
5

  org.apache.maven.plugins
  maven-shade-plugin
  3.1.1

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.1

Bugs:

  • MSHADE-273 – Shading of paths starting with / ignores excludes
  • MSHADE-275 – Maven Shade Plugin does not work under Java 10

Improvements:

  • MSHADE-277 – Identify issue related IT failure mini-jar-malformed-dependencies/pom.xml
  • MSHADE-278 – Print out the jar responsible for exceptions like “Error creating shaded jar: invalid LOC header (bad signature)”
  • MSHADE-283 – Add documentation information for GitHub

Dependency upgrades:

  • MSHADE-276 – Upgrade parent to 31
  • MSHADE-279 – Upgrade mave-surefire/failsafe-plugin 2.21.0
  • MSHADE-280 – Upgrade jdom 1.1.3 to jdom2 2.0.6
  • MSHADE-281 – Upgrade plexus-utils 3.1.0
  • MSHADE-282 – Remove not used directories rel-path-test-files

Many thanks to all reporters/contributors/testers of this release.

Reporters:

  • MSHADE-273: Eugene Kirpichov
  • MSHADE-275: Markus Grech
  • MSHADE-278: Gary Gregory

Testers:

  • Markus Grech
  • Rafael Winterhalter

Enjoy,

-The Apache Maven team