com.github.yfhe2:boot-support-db

Springboot类型项目依赖管理

License

License

Apache License, Version 2.0
GroupId

GroupId

com.github.yfhe2
ArtifactId

ArtifactId

boot-support-db
Last Version

Last Version

1.0.0-RELEASES
Release Date

Release Date

Type

Type

jar
Description

Description

Springboot类型项目依赖管理

Download boot-support-db

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.yfhe2/boot-support-db/ -->
<dependency>
    <groupId>com.github.yfhe2</groupId>
    <artifactId>boot-support-db</artifactId>
    <version>1.0.0-RELEASES</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.yfhe2/boot-support-db/
implementation 'com.github.yfhe2:boot-support-db:1.0.0-RELEASES'
// https://jarcasting.com/artifacts/com.github.yfhe2/boot-support-db/
implementation ("com.github.yfhe2:boot-support-db:1.0.0-RELEASES")
'com.github.yfhe2:boot-support-db:jar:1.0.0-RELEASES'
<dependency org="com.github.yfhe2" name="boot-support-db" rev="1.0.0-RELEASES">
  <artifact name="boot-support-db" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.yfhe2', module='boot-support-db', version='1.0.0-RELEASES')
)
libraryDependencies += "com.github.yfhe2" % "boot-support-db" % "1.0.0-RELEASES"
[com.github.yfhe2/boot-support-db "1.0.0-RELEASES"]

Dependencies

compile (5)

Group / Artifact Type Version
org.springframework.boot : spring-boot-starter-logging jar 2.3.4.RELEASE
org.mybatis.spring.boot : mybatis-spring-boot-starter jar 2.1.3
tk.mybatis : mapper-spring-boot-starter jar 2.1.5
com.github.pagehelper : pagehelper-spring-boot-starter jar 1.3.0
com.github.yfhe2 : boot-support-commons-exception jar 1.0.0-RELEASES

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok Optional jar 1.18.12

Project Modules

There are no modules declared in this project.

boot-support

License

Boot Support 致力于为微服务架构开发提供通用解决方案,此项目包含开发分布式应用微服务的必需组件,方便开发者通过 Spring Boot、Spring Cloud、Spring Cloud Alibaba 编程模型轻松使用这些组件来开发分布式应用服务

项目依托 Spring Boot、Spring Cloud、Spring Cloud Alibaba,引入项目后,只需要添加一些注解和少量配置,就可以快速开发此类型的项目,使用一套架构,既可开发Spring Boot项目,也可开发Spring Cloud项目,还可以开发Dubbo项目!

主要功能

  • 常用web开发快速配置:支持统一异常处理、跨域配置、请求日志记录、统一Response响应、Swagger日志快速集成
  • 集成Hutool常用工具类:支持引用Hutool所有工具类
  • 快速集成Mysql:配合Mybatis、Mybatis-Plus、PageHelper快速使用Mysql
  • 快速集成Redis:快速配置Redis单机/集群模式,提供Redis分布式锁
  • Spring Cloud Gateway集成:对Spring Cloud Gateway进行二次封装,支持重定向服务降级、Gateway端的统一异常处理、统一Response响应

参考文档 请查看 WIKI

Boot Support 的目录结构

.
├── boot-support-commons
│   ├── boot-support-commons-web 
│   ├── boot-support-commons-exception
│   ├── boot-support-commons-swagger
│   └── boot-support-commons-utils
├── boot-support-db-aggregation
│   ├── boot-support-db-mysql-mybatis
│   ├── boot-support-db-mysql-mybatis-plus
│   └── boot-support-db-redis
├── boot-support-dependencies
├── boot-support-gateway
└── boot-support-parent
  • boot-support-dependencies 定义统一的组件依赖
  • boot-support-commons commons常用工具与配置
  • boot-support-db-aggregation 数据库封装组件,实现快速引用
  • boot-support-gateway 经过封装的Spring Cloud Gateway网关
  • boot-support-parent 主要负责实现在具体项目中的引用

boot-support-dependencies主要组件依赖

依赖 版本
Spring Boot 2.4.1
Spring Cloud Hoxton.SR8
Spring Cloud Alibaba 2.2.3.RELEASE
Hutool 5.5.7
Mybatis Starter 2.1.3
Mybatis Plus 2.1.3
通用 Mapper 3.4.1
Druid Starter 1.2.1
Jasypt Starter 3.0.3
Swagger Knife4j 3.0.2

Versions

Version
1.0.0-RELEASES