Akhila K
Akhila K

Reputation: 29

How to override dependency exclusions from a lib on an app that uses same version of dependency

I have a lib where I've excluded dependency from an inhouse artifact and when I use the lib in my client application, it throws:

java.lang.ClassNotFoundException: io.confluent.monitoring.clients.interceptor.MonitoringProducerInterceptor

How do I override this exclusion and not exclude this dependency in my app?

Upvotes: 0

Views: 31

Answers (1)

lpettinato
lpettinato

Reputation: 66

Just add it again as dependency in your pom.xml

Upvotes: 1

Related Questions