<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版本。
发布于 2019-11-15 18:28:06
用来检查你可以用什么依赖‘赢得’午餐
mvn dependency:tree -Dincludes=org.springframework.hateoas:spring-hateoas::我推荐你去读https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
关注<dependencyManagement>标签,它允许你控制传递依赖(我认为这就是你的问题所在)
请参阅Differences between dependencyManagement and dependencies in Maven
https://stackoverflow.com/questions/58874503
复制相似问题