Maven 剔除已存在jar包

<dependency>

   <!--引用包-->

    <groupId>com.github.pagehelper</groupId>

    <artifactId>pagehelper</artifactId>

   <version>5.1.4</version>

   <exclusions>

             <!--剔除存在包-->

           <exclusion>

                  <groupId>com.github.pagehelper</groupId>

                 <artifactId>pagehelper</artifactId>

           </exclusion>

    </exclusions>

</dependency>

posted @ 2020-09-27 17:41  孤独一梦  阅读(794)  评论(0编辑  收藏  举报