You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2023/11/01 20:38:00 UTC

[jira] [Commented] (CASSANDRA-18992) Exclude jna transitive dependecy from the ohc library

    [ https://issues.apache.org/jira/browse/CASSANDRA-18992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17781891#comment-17781891 ] 

Maxim Muzafarov commented on CASSANDRA-18992:
---------------------------------------------

[~e.dimitrova] Hi, I've prepared an exclution for both the trunk and 5.0 branches. Can you take a look?

> 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.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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org