美文网首页
Maven 继承

Maven 继承

作者: 空山Echo | 来源:发表于2018-09-07 09:40 被阅读0次

目的:集中管理第三方Jar,解决冗余定义和升级问题,抽离公共部分到父类中管理

ProjectParent  pom.xml
<dependencyManagement>
  <dependencies>
      <dependency>
            //此处只添加第三方依赖包
image.png
ProjectChild  pom.xml
  <parent>
        <groupId>
        <artifactId>
         <version>
image.png

相关文章

网友评论

      本文标题:Maven 继承

      本文链接:https://www.haomeiwen.com/subject/nrzxgftx.html