我跑了
mvn versions:display-dependency-updates
在我的项目中检查最新版本号。以下是一些输出:
[INFO] The following dependencies in Dependencies have newer versions:
[INFO] javax.mail:mail ......................................... 1.4 -> 1.4.4
[INFO] javax.servlet:servlet-api ................................. 2.4 -> 2.5
[INFO] junit:junit ............................................. 4.4 -> 4.8.2
[INFO] org.springframework:spring-context-support .... 3.0.5.RELEASE -> 2.5.6
[INFO] org.springframework:spring-core ............... 3.0.5.RELEASE -> 2.5.6
[INFO] org.springframework:spring-webmvc ............. 3.0.5.RELEASE -> 2.5.6
为什么Maven会认为2.5.6是比3.0.5更新版本.RELEASE?