Skip to content

Commit

Permalink
DBZ-6320 Fix Cassandra3 build to work with JDK names sans dots.
Browse files Browse the repository at this point in the history
The most recent JDK 20 version string is simply "20" and the jamm
dependency bundled with cassandra-all does not support version
strings that may not contain dots, basically it only supports JDK
8 or earlier. Bumping to 0.3.3 supports dot and non-dot named
version strings.
  • Loading branch information
Naros authored and jpechane committed Apr 12, 2023
1 parent 8b4cfcd commit bd225e1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cassandra-3/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,19 @@
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
</exclusion>
<!-- Exclude bundled version that is not compatible with JDK names that do not have dots in their names -->
<exclusion>
<groupId>com.github.jbellis</groupId>
<artifactId>jamm</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Fixes compatibility JDK versions that may not yet dots in their names -->
<dependency>
<groupId>com.github.jbellis</groupId>
<artifactId>jamm</artifactId>
<version>0.3.3</version>
</dependency>
</dependencies>

<build>
Expand Down

0 comments on commit bd225e1

Please sign in to comment.