Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

hb0730/hb0730-commons

Repository files navigation

Maven Central GitHub GitHub Workflow Status jdk api codacy codecov


简介

hb0730-commons是个人平时用到的java类库(封装http,cache等工具)

包含组件

模块 介绍
commons-cache 封装的缓存工具,支持本地内存缓存以及spring data redis缓存
commons-http 简单抽象http,支持httpClient,okHttp等工具
commons-json 集合各大(fastjson,gson,jackson...)json工具类
comons-encrypt 加密解密工具
commons-lang 平时用到的单一工具如String,Date等utils
commons-mail java发送mail使用spring Mail
commons-spring spring相关工具
commons-ssh jsch 等SSH Client简单封装
commons-scm 对 scm(git,svn)等支持,方便操作

测试

测试依赖第三方组件

模块
commons-cache-test
commons-http-test
commons-spring-test

安装

maven

<dependency>
    <groupId>com.hb0730</groupId>
    <artifactId>commons-dependencies</artifactId>
    <version>2.1.2-RELEASE</version>
    <type>pom</type>
    <scope>import</scope>
</dependency>

或者

<dependency>
    <groupId>com.hb0730</groupId>
    <artifactId>commons-all</artifactId>
    <version>2.1.2-RELEASE</version>
</dependency>