首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Spring Hateoas的Maven依赖问题

Spring Hateoas的Maven依赖问题
EN

Stack Overflow用户
提问于 2019-11-15 17:58:04
回答 1查看 188关注 0票数 0
代码语言:javascript
复制
<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版本。

EN

回答 1

Stack Overflow用户

发布于 2019-11-15 18:28:06

用来检查你可以用什么依赖‘赢得’午餐

代码语言:javascript
复制
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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/58874503

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档