【发布时间】:2018-12-03 16:50:17
【问题描述】:
Spring Boot documentation 说明了如何为具有简单名称(例如 acme)的东西命名 Spring Boot 启动器:acme-spring-boot-starter
但是,自动配置的“事物”并不总是这么简单的名称。有多个部分的名字怎么样?
例如,CXF 围绕基本名称“拆分”这些部分以表示项目组件层次结构:
- cxf-spring-boot-starter-jaxws
- cxf-spring-boot-starter-jaxrs
我发现了具有这些命名模式的其他变体
- foo-bar-spring-boot-starter
- spring-boot-starter-foo-bar(可能与 Spring Boot 项目的 starter 冲突,可能不行)
是否有命名约定或建议?
【问题讨论】:
标签: spring-boot naming-conventions spring-boot-starter