Skip to content

Spring Vault Artifacts

Mark Paluch edited this page Jan 16, 2020 · 1 revision

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

Maven Central

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>

Spring Repositories

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.

Snapshots

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>

Milestones and Release Candidates

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>

Releases

You can also resolve GA versions of Spring Vault artifacts against https://repo.spring.io/release.