How to exclude a direct dependency of a Maven Plugin

后端 未结 3 1070
天涯浪人
天涯浪人 2021-01-04 05:22

I want to exclude a direct dependency of a Maven plugin and the approach described in this answer does not work (as indicated by this comment).

As a particular examp

3条回答
  •  天涯浪人
    2021-01-04 05:41

    Check your dependency list with dependency:tree and solve WTF lib is introducing that lib dependency, then exclude in it. Maybe you dependency couldn't be direct one.

    I hope to help u.

    Edit: Just follow your dependency hierarchy

提交回复
热议问题