开发者

How to add exclutions to dependencies on maven

I have the following dependencies that unfortunately requires some classes which are not present on the default packages. First it is 'spring-cloud-starter-sleuth', when I add the local maven jar updated to versio开发者_开发百科n 3.1.5 it requires 'brave-context-slf4j' version 5.14.1 and I have added them without problems.

The problem is the standard dependencies which includes those jars e.g 'spring-cloud-dependencies' should exclude the other versions so this way I can use only spring-cloud-starter-sleuth:3.1.5 and brave-context-slf4j:5.14.1.

How could I add those exclusions to that dependencies?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜