SpringForAll / spring-boot-starter-swagger

自制spring boot starter for swagger 2.x,来试试吧,很好用哦~
Apache License 2.0
2.13k stars 523 forks source link

命名规范 #49

Closed nickevin closed 6 years ago

nickevin commented 6 years ago

官方文档对第三方 Starter 的建议:Do not start your module names with spring-boot, even if you are using a different Maven groupId. We may offer an official support for the thing you’re auto-configuring in the future.

可以参考 Mybtais 的 POM

<dependency>
    <groupId>org.mybatis.spring.boot</groupId>
    <artifactId>mybatis-spring-boot-starter</artifactId>
    <version>2.0.0-SNAPSHOT</version>
</dependency>

详见:https://docs.spring.io/spring-boot/docs/1.5.9.RELEASE/reference/htmlsingle/#boot-features-custom-starter-naming

dyc87112 commented 6 years ago

是的,这个问题很早已经有人提了,下个版本会修改