Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Packaging
-
Normal
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
Could not build shaded dtest JAR with ./build-shaded-dtest-jar.sh due to:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.1:shade (default) on project cassandra-dtest-shaded: Error creating shaded jar: Problem shading JAR ~/Repos/apache/cassandra/target/cassandra-dtest-shaded-4.0.1-SNAPSHOT.jar entry net/openhft/chronicle/wire/YamlWire$TextValueIn.class: org.apache.maven.plugin.MojoExecutionException: Error in ASM processing class net/openhft/chronicle/wire/YamlWire$TextValueIn.class: 65536 -> [Help 1]
Tried on both Java 8 and Java 11, included ant clean / realclean / unlinking the entire ~/.m2/repository.
Fixed by upgrading maven-shade-plugin in relocate-dependencies.pom:
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> - <version>3.2.1</version> + <version>3.4.1</version>