Quoting Paul Grays answer - Spring 4
is already in Maven central so you just need to add this dependency
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>4.0.0.RELEASE</version>
</dependency>
Older asnwer
I think you need to add Spring repository to your pom.xml
<repository>
<id>com.springsource.repository.maven.snapshot</id>
<url>http://maven.springframework.org/snapshot/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Then you can add your Spring module with following version 4.0.0.BUILD-SNAPSHOT
. So for example
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>4.0.0.BUILD-SNAPSHOT</version>
</dependency>