项目介绍
代码库
项目要求
- JDK8
项目结构介绍
- charon-core 核心工具包
- charon-dependencies 依赖管理
- charon-facade rpc接口父模块
- charon-eureka-server eureka服务端
- charon-socks-proxy-server 使用netty实现的socks5代理,摘自netty example
- charon-spring-boot-admin-server spring-boot-admin服务端
- charon-spring-boot-starters charon-spring-boot-starter父模块
- charon-spring-boot-starter 拓展spring-boot-starter,其他starter依赖此模块,新增配置/opt/charon/charon.properties加载(方便本地调试)
- charon-web-spring-boot-starter 拓展spring-boot-starter,新增健康检查Controller及线程查看等运维工具
- charon-dubbo-spring-boot-starter 集成dubbo
- charon-elasticjob-lite-spring-boot-starter 集成elasticjob-lite
- charon-elasticsearch-spring-boot-starter 集成elasticsearch
- charon-elk-spring-boot-starter 输出logback日志到elk
- charon-mongo-spring-boot-starter 拓展mongo-spring-boot-starter,新增多数据源功能
- charon-notify-spring-boot-starter 一个推送(通知) starter,支持钉钉等消息推送
- charon-oss-spring-boot-starter 一个oss starter,支持阿里云OSS及GitHub
- charon-redis-spring-boot-starter 拓展redis-spring-boot-starter,集成redisson(更好的redis分布式锁实现)
- charon-swagger-spring-boot-starter 集成swagger及bootstrap主题
- charon-shardingsphere-jdbc-spring-boot-starter 集成shardingsphere-jdbc
- charon-spring-boot-admin-client-starter 集成spring-boot-amin-client
- docker 常用docker镜像
Maven 配置文件
https://raw.githubusercontent.com/harvies/software/master/.m2/settings.xml
编译
mvn clean install -DskipTests -U -s 'xxxx/settings.xml'
部署
mvn clean deploy -DskipTests -U -s 'xxx/settings.xml' -Possrh
### gpg: signing failed: Inappropriate ioctl for device?
```bash
export GPG_TTY=$(tty)