[[maven-configuration]]
=== Maven configuration
Add the Maven dependency:
[source,xml]
----
org.springframework.data
${project.artifactId}
${version}
----
If you'd rather like the latest snapshots of the upcoming major version, use our Maven snapshot repository and declare the appropriate dependency version.
[source,xml]
----
org.springframework.data
${project.artifactId}
${version}-SNAPSHOT
spring-snapshot
Spring Snapshot Repository
https://repo.spring.io/snapshot
----