GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
git clone git@github.com:teaey/spring-boot-starter-dubbo.git 2. 编译安装(可选) cdspring-boot-starter-dubbo mvn clean install 3. 修改maven配置文件(可以参考样例spring-boot-starter-dubbo-sample) 在spring boot项目的pom.xml增加parent: <parent> <groupId>org.springframework.boot</groupId> <artifact...
在application.yml添加elasticjob的相关配置信息,样例配置如下: 具体配置请参照http://elasticjob.io/docs/elastic-job-lite/02-guide/config-manual配置。 spring:elasticjob:#注册中心配置zookeeper:server-lists:127.0.0.1:6181namespace:elastic-job-spring-boot-stater-demo#简单作业配置simples:#spring简单作业示例配...
没有太多多余的代码,记录下来主要是为了以后写starter的时候有个模板可以直接拖下来参考。 github项目地址:rain-spring-boot-starter 操作步骤 starter项目 (1) 新建一个maven项目,项目名推荐命名为:xxxx-spring-boot-starter,为了和官方starter的命名[spring-boot-starter-xxxx]区分开来。 (2) 在pom.xml中引入spring...
<dependency><groupId>io.github.benfromchina</groupId><artifactId>swagger-spring-boot-starter</artifactId><version>1.0.2</version></dependency> jdk17 及以上使用 2.0 版本 <dependency><groupId>io.github.benfromchina</groupId><artifactId>swagger-spring-boot-starter</artifactId><version>2.0.3</...
项目Gitee链接:Java3y/austingitee.com/zhongfucheng/austin项目GitHub链接:GitHub - ZhongFuCheng3y/...
好了,一个简单的自动化配置类我们就算完成了,是不是很简单! 总结 本文主要带领小伙伴自己徒手撸一个 Starter ,使用这种方式帮助大家揭开 Starter 的神秘面纱!大伙有问题可以留言讨论。 本文的案例,源码地址:https://github.com/lenve/javaboy-code-samples...
eventbus是基于Spring Boot Starter的分布式业务消息分发总线组件(发布/订阅模式),支持延时消息。可使用Redis、RabbitMQ、RocketMQ等任意一种做底层的消息引擎,开源不易,点个Star关注更新吧。 Github项目地址:https://github.com/likavn/event https://gitee.com/likavn/eventb ...
github项目地址:https://github.com/LianjiaTech/retrofit-spring-boot-starter gitee项目地址:https://gitee.com/lianjiatech/retrofit-spring-boot-starter 示例demo:https://github.com/ismart-yuxi/retrofit-spring-boot-demo 感谢@ismart-yuxi为本项目写的示例demo ...
源码地址:mobaijun/swagger-spring-boot-starter (github.com) 注册配置 在src/main/resource 下新建 META-INFO/spring.factories 文件。设置如下即可: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ com.mobaijun.swagger.config.SwaggerConfiguratio...