【发布时间】:2016-11-28 16:06:46
【问题描述】:
最近用maven写了一个项目,但是对maven pom.xml中的版本有疑问。
如果我写这样的依赖
<dependency>
<groupId>foo</groupId>
<artifactId>bar</artifactId>
<!--No version here-->
</dependency>
版本是什么
在一个简单的项目中,没有子项目
作为另一个项目中的依赖项,并且该项目使用 foo-bar-1.0.0
【问题讨论】: