美文网首页
06 maven依赖

06 maven依赖

作者: 小小机器人 | 来源:发表于2016-10-29 18:03 被阅读5次
  1. 依赖配置与依赖范围
    http://blog.csdn.net/sunnyyoona/article/details/50609297

  2. 传递依赖
    http://blog.csdn.net/sunnyyoona/article/details/50612701

    Paste_Image.png
  3. 依赖排除与禁止依赖

A模块依赖B模块,B模块依赖C模块
当在B的依赖中加入了可选标识后,A就不会再依赖"依赖传递"的模块,若想依赖该模块,需要手动写上依赖


Paste_Image.png

A模块依赖B模块,B模块依赖C模块
当在A的依赖中加入了过滤后,A就不会再依赖指定的过滤模块,传递依赖也就断了


Paste_Image.png

相关文章

网友评论

      本文标题:06 maven依赖

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