-
Notifications
You must be signed in to change notification settings - Fork 186
Spring Vault Artifacts
This document describes how to access Spring Vault artifacts. For snippets of POM configuration go to Maven Central or Spring Repositories.
Spring Vault publishes a single JAR: spring-vault-core
Spring Vault publishes GA (general availability) versions to Maven Central which is automatically searched when using Maven, so just add the dependencies to your project's POM:
<dependency>
<groupId>org.springframework.vault</groupId>
<artifactId>spring-vault-core</artifactId>
<version>x.y.z</version>
</dependency>
Snapshot, milestone, and release candidate versions are published to an Artifactory instance hosted by JFrog. You can use the Web UI at https://repo.spring.io to browse the Spring Artifactory, or go directly to one of the repositories listed below.
Add the following to resolve snapshot versions, e.g. 2.0.0.BUILD-SNAPSHOT
:
<repository>
<id>repository.spring.snapshot</id>
<name>Spring Snapshot Repository</name>
<url>https://repo.spring.io/snapshot</url>
</repository>
...
<dependency>
<groupId>org.springframework.vault</groupId>
<artifactId>spring-vault-core</artifactId>
<version>2.0.0.BUILD-SNAPSHOT</version>
</dependency>
Add the following to resolve milestone and RC versions, e.g. 2.0.0.M1
or 2.0.0.RC1
:
<repository>
<id>repository.spring.milestone</id>
<name>Spring Milestone Repository</name>
<url>https://repo.spring.io/milestone</url>
</repository>
...
<dependency>
<groupId>org.springframework.vault</groupId>
<artifactId>spring-vault-core</artifactId>
<version>2.0.0.M1</version>
</dependency>
You can also resolve GA versions of Spring Vault artifacts against https://repo.spring.io/release
.