Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBZ-6320 Fix Cassandra3 build to work with JDK names sans dots. #110

Merged
merged 2 commits into from Apr 12, 2023

Conversation

Naros
Copy link
Member

@Naros Naros commented Apr 10, 2023

https://issues.redhat.com/browse/DBZ-6320

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.

@jpechane This should fix the Java Outreach failures with JDK20 for Cassandra builds.

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.
@smiklosovic
Copy link
Member

what about cassandra 4 and dse module? All good there?

<dependency>
<groupId>com.github.jbellis</groupId>
<artifactId>jamm</artifactId>
<version>0.3.3</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not this go into BOM instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I choose not to do that because the only one I wanted to override was cassandra 3 as the other two modules are unaffected. If you want it defined in the BOM I can do that, just let me know.

@Naros
Copy link
Member Author

Naros commented Apr 11, 2023

what about cassandra 4 and dse module? All good there?

The dependency version used by Cassandra 4 and DSE are fine, they're based on 0.3.2 or later which isn't affected by the problem.

@jpechane jpechane merged commit 9684b67 into debezium:main Apr 12, 2023
3 checks passed
@jpechane
Copy link
Contributor

@Naros Applied, thanks. I just changed the POM to use dependency management for version resolution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants