我是Maven的新手,当前正在阅读Hadoop源代码,并且在某些pom.xml文件中发现了一些有趣的东西:
pom.xml
一些依赖项节点根本不包含版本节点。
问题:为什么会这样?
例如thispom.xml。
因为父文件中依赖项的特定版本pom.xml
https://github.com/apache/hadoop/blob/trunk/pom.xml
参考:https : //maven.apache.org/guides/introduction/introduction-to-the-pom.html
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句