gpt4 book ai didi

java - 具有自定义父项的 Spring Boot - 工作示例

转载 作者:行者123 更新时间:2023-11-30 09:06:22 25 4
gpt4 key购买 nike

我正在寻找 Spring Boot maven 应用程序的工作示例,而不引用 spring-boot-starter-parent 作为父 pom。

我在 Spring Boot Docs - http://docs.spring.io/spring-boot/docs/1.0.1.RELEASE/reference/htmlsingle/#using-boot-maven-your-own-parent 中找到了一些关于这个的词但我仍然对 pluginManagement 有疑问。我应该复制并粘贴 spring-boot-starter-parent 和 spring-boot-dependencies 中的所有 pluginManagement 部分吗?

最佳答案

Should I copy&paste all the pluginManagement section from spring-boot-starter-parent and spring-boot-dependencies?

那行得通。不过,有些人可能将其称为“核选项”(即,对于您给定的用例,您不太可能需要所有这些选项)。

关于java - 具有自定义父项的 Spring Boot - 工作示例,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24504087/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com