maven中的排除依赖

在pom.xml配置文件中添加

<exclusions>

  <exclusion>

    <groupId></groupId>

    <artifactId></artifactId>

  <exclusion>

</exclusions>

原文地址:https://www.cnblogs.com/kavins/p/9444029.html