Spring Hateoas的Maven依赖问题

问题描述 投票:0回答:1
<dependency>
    <groupId>org.springframework.hateoas</groupId>
    <artifactId>spring-hateoas</artifactId>
    <version>0.23.0.RELEASE</version>
</dependency> 

我在pom.xml中添加了这个Spring hateoas依赖项,但我的项目的版本为0.25.1。我想要版本0.23.0。

spring maven spring-hateoas
1个回答
0
投票

用于检查您可以吃些什么'win'依赖项>]

mvn dependency:tree -Dincludes=org.springframework.hateoas:spring-hateoas::

我建议您阅读https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

关注<dependency-managment>标签,它使您可以控制传递依赖关系(我认为这会导致您的问题)

请参见Differences between dependencyManagement and dependencies in Maven

© www.soinside.com 2019 - 2024. All rights reserved.