https://github.com/cuisongliu/springboot-plus
springboot
https://github.com/cuisongliu/springboot-plus
druid mapper orderbyhelper pagehelper springboot
Last synced: 4 months ago
JSON representation
springboot
- Host: GitHub
- URL: https://github.com/cuisongliu/springboot-plus
- Owner: cuisongliu
- License: mit
- Created: 2017-05-20T07:15:00.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T11:21:39.000Z (over 7 years ago)
- Last Synced: 2025-01-16T07:15:48.166Z (5 months ago)
- Topics: druid, mapper, orderbyhelper, pagehelper, springboot
- Language: Java
- Size: 385 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://gradle.org)
[](https://opensource.org/licenses/mit-license.php)# springboot basic framework integration
帮助你集成框架 到 Spring Boot。
Help you integrate the framework to Spring Boot.
## How to use### maven
在pom.xml加入nexus资源库(解决中国访问慢的问题,已经加入中央仓库)
Add the following nexus repository(fix china access slow problem,already append to central nexus.) to your pom.xml:
nexus
nexus
http://maven.cuisongliu.com/content/groups/public
true
false
在pom.xml加入依赖
Add the following dependency to your pom.xml:
com.cuisongliu
springboot-puls
2.0
### gradle
在build.gradle加入nexus资源库(解决中国访问慢的问题,已经加入中央仓库)
Add the following nexus repository(fix china access slow problem,already append to central nexus.) to your build.gradle:
allprojects {
repositories {
mavenLocal()
maven { url "http://maven.cuisongliu.com/content/groups/public" }
mavenCentral()
jcenter()
}
}
在build.gradle加入依赖Add the following dependency to your build.gradle:
compile "com.cuisongliu:springboot-plus-core:2+"
## Add cuisongliu's springboot to project1. add to project configure
2. application.java extends from SpringMvcConfig
3. application.java append to @ComponentScan and @MapperScan
4. @ComponentScan and @MapperScan not set package com.cuisongliu prefix
1. 在项目中加入项目配置文件
2. 在springboot 的入口继承SpringMvcConfig
3. 在入口类加入ComponentScan和MapperScan配置
4. @ComponentScan 和 @MapperScan 不能设置为com.cuisongliu开头> [Example for cuisongliu's springboot](https://github.com/cuisongliu/springboot-integration)
## Acknowledgments
[druid](https://github.com/alibaba/druid)
[druid-starter](https://github.com/cuisongliu/druid-boot-starter)
[mapper](https://github.com/abel533/Mapper)
[pagehelper](https://github.com/pagehelper/Mybatis-PageHelper)
[OrderByHelper](https://github.com/abel533/OrderByHelper)
[OrderByHelper-starter](https://github.com/cuisongliu/orderbyhelper-boot-starter)
[mybatis](https://github.com/mybatis/mybatis-3)