I just ran
mvn versions:display-dependency-updates
on my project to check for latest version numbers. Here is some of the output:
[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
Why would Maven decide that 2.5.6 is a newer version than 3.0.5.RELEASE?
Cause The spring people decided not to follow the Maven Versioning Schemata.
精彩评论