<dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </dependency> |
instead of:
<dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>2.0.6</version> </dependency> |
Where the latest stable version of the library is used when a version isn't specified.
case in point: When my project depends on spring 2.0.6 and springmodules-cache depends
on spring 2.0.3 i don't want 2 jars (2.0.3 and 2.0.6) added to the project. springmodules-cache
would use the first method (no version specified) instead. And when absolutely needed
a version would be specified. This along with the Gentoo Style pom dependencies would be
great and cut down on excess jars.