Error in shade plugin fixed by upgrading version

In the dcc-release project, the configured version of maven-shade-plugin produces this error during build:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:2.3:shade (default) on project dcc-release-job-all: Error creating shaded jar: java.util.jar.Attributes cannot be cast to java.lang.String -> [Help 1]

Build works if you update to the current version: 2.4.3.

Brian K.

Brian, what maven version do you use?

Hi Vitalii, I’m using Apache Maven 3.2.5 on Ubuntu.

Indeed, that plugin version doesn’t work in Apache Maven 3.2.5, but work in 3.2.3 version which is used by our build system.

Updated the plugin version.

Thanks for the report Brian!