Dependencies

如果你想要在项目中使用 Spring Vault,请向 spring-vault-core 制品申明一个依赖项。

If you want to use Spring Vault in your project, declare a dependency to the spring-vault-core artifact. .Declaring a dependency to Spring Vault

<dependencies>
    <dependency>
        <groupId>org.springframework.vault</groupId>
        <artifactId>spring-vault-core</artifactId>
        <version>{version}</version>
    </dependency>
</dependencies>

查找 Spring Vault 依赖项的兼容版本的最简单方法是查看 spring-vault-parent 的属性部分。我们通常建议升级到 Jackson 的最新依赖项、您的 HTTP 客户端和您的云提供商 SDK。

The easiest way to find compatible versions of Spring Vault dependencies is by inspecting the properties section of spring-vault-parent. We generally recommend upgrading to the latest dependency of Jackson, your HTTP clients and your Cloud provider SDK.

Spring Framework

当前版本的 Spring Vault 要求 Spring Framework 版本{springVersion}或更高版本。模块可能也适用于小版本的较早错误修复版本。不过,强烈建议使用该代系中较新版本。

The current version of Spring Vault requires Spring Framework in version {springVersion} or newer. The modules might also work with an older bugfix version of that minor version. However, using the most recent version within that generation is highly recommended.