Abe Ratnofsky created CASSANDRA-18136:
-----------------------------------------
Summary: Upgrade maven-shade-plugin to fix shaded dtest JAR build
Key: CASSANDRA-18136
URL: https://issues.apache.org/jira/browse/CASSANDRA-18136
Project: Cassandra
Issue Type: Bug
Components: Build, Packaging
Reporter: Abe Ratnofsky
Could not build shaded dtest JAR with ./build-shaded-dtest-jar.sh due to:
{code:java}
[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] {code}
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:
{code:java}
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
- <version>3.2.1</version>
+ <version>3.4.1</version>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]