griffindvs commented on PR #4376:
URL: https://github.com/apache/cassandra/pull/4376#issuecomment-3303492676
@smiklosovic I tried moving our declared jackson dependencies lower in the
POM (below wiremock and harry), but the older jars were still present.
If we add an exclusion for jackson from harry and wiremock then the jars are
removed:
```xml
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>harry-core</artifactId>
<version>0.0.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>jackson-databind</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
<exclusion>
<artifactId>jackson-annotations</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.github.tomakehurst</groupId>
<artifactId>wiremock-jre8</artifactId>
<version>2.35.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>jackson-annotations</artifactId>
<groupId>com.fasterxml.jackson.core</groupId>
</exclusion>
</exclusions>
</dependency>
```
```
$ ls build/test/lib/jars | grep jackson
jackson-annotations-2.19.2.jar
jackson-core-2.19.2.jar
jackson-databind-2.19.2.jar
jackson-dataformat-yaml-2.19.2.jar
```
I'm not sure though if there would be side effects from doing this (eg. if
wiremock or harry are incompatible with the newer jackson version).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]