You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bret McGuire (Jira)" <ji...@apache.org> on 2025/06/03 19:18:00 UTC
[jira] [Comment Edited] (CASSJAVA-102) Fix revapi spurious complaints about optional dependencies
[ https://issues.apache.org/jira/browse/CASSJAVA-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17955961#comment-17955961 ]
Bret McGuire edited comment on CASSJAVA-102 at 6/3/25 7:17 PM:
---------------------------------------------------------------
FTR according to [Maven docs|https://maven.apache.org/docs/history.html] 3.6.3 was released in November of 2019. The 3.8.x line appears to be the last that requires Java7 (3.9.x requires Java8) so we may want to stick with that line for the near future. It isn't strictly _required_ that Maven have a minimum version that matches the minimum version supported by the Java driver but at the same time I don't want to worry about having to install a custom JVM just to use Maven.
3.8.8 is the most recent as of this writing and it was released in March of 2023 so it seems like we're on pretty stable ground there.
Nevermind, I'm an idiot... I should read before I type. The driver requires Java8 not Java7... so 3.9.x is just fine :facepalm:
was (Author: JIRAUSER304104):
FTR according to [Maven docs|https://maven.apache.org/docs/history.html] 3.6.3 was released in November of 2019. The 3.8.x line appears to be the last that requires Java7 (3.9.x requires Java8) so we may want to stick with that line for the near future. It isn't strictly _required_ that Maven have a minimum version that matches the minimum version supported by the Java driver but at the same time I don't want to worry about having to install a custom JVM just to use Maven.
3.8.8 is the most recent as of this writing and it was released in March of 2023 so it seems like we're on pretty stable ground there.
> Fix revapi spurious complaints about optional dependencies
> ----------------------------------------------------------
>
> Key: CASSJAVA-102
> URL: https://issues.apache.org/jira/browse/CASSJAVA-102
> Project: Apache Cassandra Java driver
> Issue Type: Improvement
> Components: Core
> Reporter: Abe Ratnofsky
> Assignee: Abe Ratnofsky
> Priority: Low
> Time Spent: 10m
> Remaining Estimate: 0h
>
> We use revapi on cassandra-java-driver 4.x to ensure we’re not breaking public / external APIs that users depend on. The tool doesn’t work correctly on my machine (even with default Maven repositories, cleared out local ~/.m2, clean slate). Here are some of the complaints I would get with revapi, even when I tweaked the configuration to compare a version against itself:
> Comparing [org.apache.cassandra:java-driver-core:jar:4.18.0] against [org.apache.cassandra:java-driver-core:jar:4.18.0]
> ...
> [INFO] java.missing.oldClass: missing-class com.esri.core.geometry.Geometry: Class 'com.esri.core.geometry.Geometry' could not be found in the archives of the old API. It has been detected as contributing to the API and thus the analysis results may be incorrect.
> [INFO] java.missing.newClass: missing-class com.esri.core.geometry.Geometry: Class 'com.esri.core.geometry.Geometry' could not be found in the archives of the new API. It has been detected as contributing to the API and thus the analysis results may be incorrect.
> Common offenders were optional dependencies: esri, tinkerpop, etc.
> Patch available.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org