[ 
https://issues.apache.org/jira/browse/CASSANDRA-14667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

miklosovic updated CASSANDRA-14667:
-----------------------------------
    Attachment: signature.asc

You wrote:

I can see from the block of code you posted it only downloads the pom files 
required to resolve the dropwizard dependency description itself. There is 
still no 1.2.12 jar in the resulting classpath, which seems correct to me.

This is correct, because of this: (I took that from Maven documentation).

Dependency mediation - this determines what version of an artifact will be 
chosen when multiple versions are encountered as dependencies. Maven picks the 
"nearest definition". That is, it uses the version of the closest dependency to 
your project in the tree of dependencies. You can always guarantee a version by 
declaring it explicitly in your project's POM.

We explicitly added dependencies into our POM so that means even there is a 
dependency which depends on a newer version, it will not be used because our 
dependency is "closer" to the root in the hierarchy.

So we see it is downloaded but it is not used.

However, we see that Dropwizard uses 1.2.12 and we nailed it down to 1.2.9. Why 
not to make Dropwizard happy?

Sent from ProtonMail mobile



\

> Upgrade Dropwizard Metrics to 4.x
> ---------------------------------
>
>                 Key: CASSANDRA-14667
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14667
>             Project: Cassandra
>          Issue Type: Task
>          Components: Observability/Metrics
>            Reporter: Stig Rohde Døssing
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.x
>
>         Attachments: signature.asc, signature.asc, signature.asc
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Cassandra currently uses Metrics 3.1.5. Version 4.0.0 added some fixes for 
> Java 9 compatibility. It would be good to upgrade the Metrics library as part 
> of the version of Cassandra that adds Java 9 compatibility 
> (https://issues.apache.org/jira/browse/CASSANDRA-9608). 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to