根据spring boot官方的说法,命名第三方spring boot starter时不应以"spring-boot“开头。推荐使用模式: third-spring-boot-starter。
但是,如果第三部分有多个启动器,如何命名它们?
third-module1-spring-boot-starter
third-module2-spring-boot-starter或
third-spring-boot-starter-module1
third-spring-boot-starter-module1发布于 2020-03-12 14:26:47
根据Spring Boot docs的命名约定,以下命名更接近他们的建议:
third-spring-boot-starter-module1
third-spring-boot-starter-module2我认为对于一个更大的组织来说,拥有多个启动器是很常见的情况,比如:
third-spring-boot-starter-logging
third-spring-boot-starter-tracing在最后给出模块的实际名称,更类似于Spring Boot团队正在做的事情。
https://stackoverflow.com/questions/60648451
复制相似问题