我如何知道 Spring Boot starter 依赖项带入我的项目的传递依赖项的版本? [英] How do I know the version of a transitive dependency that a Spring Boot starter dependency brings into my project?

查看:38
本文介绍了我如何知道 Spring Boot starter 依赖项带入我的项目的传递依赖项的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,我如何找出 Spring Boot spring-boot-starter-data-jpa starter 依赖项带入我的项目的 Hibernate 版本?

For example, how do I find out the version of Hibernate that the Spring Boot spring-boot-starter-data-jpa starter dependency is bringing into my project?

推荐答案

依赖列表在 文档的附录 Fspring-boot 的 pom.xml-dependencies 工件,您应该可以在类路径中找到它.

The list of dependencies is available in the Appendix F. of the documentation and in the pom.xml of the spring-boot-dependencies artifact, which you should be able to find on your classpath.

你也可以去Spring Boot的公共仓库和在单独的分支中查看每个已发布版本的 pom.xml.

You can also go the public repository of Spring Boot and see the pom.xml for every released version in a separate branch.

这篇关于我如何知道 Spring Boot starter 依赖项带入我的项目的传递依赖项的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆