我如何知道 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?
答
依赖列表在 文档的附录 F 和 spring-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.