[
https://issues.apache.org/jira/browse/CASSANDRA-18992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784067#comment-17784067
]
Stefan Miklosovic commented on CASSANDRA-18992:
-----------------------------------------------
Good work on the verification of ohc running with 5.13!
I agree with Maxim's observation that ohc is running with 5.13 already as that
is what we ship with libs. Anyway it is good to see that tests for ohc with jna
5.13 are still looking good for extra assurance.
This might theoretically affect people importing Cassandra into a Maven project
as a dependency, but I checked it there and it is already overriden by 5.13.0
neverthless we can still exclude this explicitly.
BTW what is also interesting is that, if you notice, there is
"ohc-core-j8-0.5.1.jar" among libs too. Is not it strange that there is "Java
8" dependency for a project running with Java 11+ only? Should not be that
removed too? Is that still necessary to have around?
> Exclude jna transitive dependecy from the ohc library
> -----------------------------------------------------
>
> Key: CASSANDRA-18992
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18992
> Project: Cassandra
> Issue Type: Task
> Components: Dependencies
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Normal
> Fix For: 5.0-beta, 5.0.x, 5.x
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The concern is related to the JNA dependency on the ohc library. We are now
> using version 0.5.1 of the ohc library in Cassandra. The ohc 0.5.1 depends on
> version 4.1.0 of the net.java.dev.jna . For the Cassandra project, JNA has
> been updated since the 4.0 release version up to JNA 5.6.0 in CASSANDRA-16212
> to support running nodes on the arm64 architecture, so I assume that JNA
> 4.1.0 is no longer in Casssandra's classpath.
> The common practice in the Cassandra project is to exclude these kinds of
> transitive dependencies when they are explicitly mentioned in the main parent
> pom, since Ant may resolve them incorrectly. See comment:
> https://issues.apache.org/jira/browse/CASSANDRA-14667?focusedCommentId=17765091&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17765091
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]