mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-10 15:54:03 +08:00
1.3.6 json支持下划线、驼峰互转
This commit is contained in:
parent
3b83e22ac7
commit
1f4d31f842
436
UPDATE.md
436
UPDATE.md
@ -1,216 +1,222 @@
|
||||
yexuejc-base 更新记录
|
||||
------------------
|
||||
|
||||
#### version :1.3.5
|
||||
**time:2019-1-7 17:19:22** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 增加兼容类型
|
||||
#
|
||||
#### version :1.3.4
|
||||
**time:2019-1-2 20:32:12** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil list类型修复
|
||||
#
|
||||
#### version :1.3.3
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. MoneyUtil 扩展元转分
|
||||
#
|
||||
#### version :1.3.2
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 枚举类型修复
|
||||
#
|
||||
#### version :1.3.1
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 增加类字段(驼峰)转换成下划线
|
||||
#
|
||||
#### version :1.3.0
|
||||
**time:2018-12-30 16:47:50** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 移交发布到maven中央仓库
|
||||
>2. 移交后变更groupId 为`top.yexuejc`
|
||||
>3. 源码发布由`成都极致思维网络科技有限公司`维护,github开源地址不变,gitee从组织[ICC(InCloudCode)](https://gitee.com/incloudcode)转移到[成都极致思维网络科技有限公司/yexuejc-base](https://gitee.com/jzsw-it/yexuejc-base)
|
||||
|
||||
#
|
||||
#### version :1.2.9
|
||||
**time:2018-12-29 14:51:33** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 获取RSA密钥增加以输入流的形式获取密钥
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.8
|
||||
**time:2018-12-28 20:10:14** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 新增[ObjUtil](src/main/java/com/yexuejc/base/util/ObjUtil.java) 对类(对象)进行处理,提供深度克隆
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.7
|
||||
**time:2018-12-24 15:31:01** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. FileUtil增加base64转File `base64ToFile()`
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.5
|
||||
**time:2018-12-20 13:13:23** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 丰富[JsonUtil](src/main/java/com/yexuejc/base/util/JsonUtil.java),支持直接对Map泛型转换
|
||||
|
||||
#
|
||||
#### version :1.2.4
|
||||
**time:2018-11-27 14:46:04** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 工具类的优化
|
||||
>2.规范代码
|
||||
|
||||
#
|
||||
#### version :1.2.3
|
||||
**time:2018-11-23 16:45:42** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修复RSA加密(签名)时选择的Base64(encodeBase64URLSafeString、encodeBase64String)区分
|
||||
#
|
||||
#### version :1.2.1
|
||||
**time:2018-11-9 15:05:06** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化resps
|
||||
#
|
||||
#### version :1.2.2
|
||||
**time:2018-11-20 20:20:12** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化RSA 加解密
|
||||
>1. 增加RSA 签名
|
||||
#
|
||||
#### version :1.2.1
|
||||
**time:2018-11-9 15:05:06** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化resps
|
||||
#
|
||||
#### version :1.2.0
|
||||
**time:2018-10-19 11:38:20** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 增加异步线程处理工具
|
||||
```$java
|
||||
SysUtil.threadRun(() -> {
|
||||
//异步执行代码块
|
||||
}
|
||||
```
|
||||
#
|
||||
|
||||
#### version :1.1.9
|
||||
**time:2018-9-23 11:57:36** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化工具类包名:不向下兼容,升级请修改
|
||||
>2. 升级JWT工具类:更改为单例模式,可配置参数
|
||||
#
|
||||
|
||||
#### version :1.1.8
|
||||
**time:2018-9-3 19:29:56** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 增肌图片处理工具类
|
||||
>2. 增肌3des工具类
|
||||
>3. 增肌RSA工具类
|
||||
>4. 优化其他工具类
|
||||
#
|
||||
#### version :1.1.7
|
||||
**time:2018-8-17 11:22:50** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化ApiVO
|
||||
#
|
||||
|
||||
#### version :1.1.6
|
||||
**time:2018-7-7 11:32:56** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. maven仓库更新
|
||||
#
|
||||
|
||||
#### version :1.1.5
|
||||
**time:2018-6-19 22:16:34** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化ApiVO
|
||||
|
||||
#
|
||||
#### version :1.1.4
|
||||
**time:2018-6-14 22:27:59** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 统一编码:UTF-8
|
||||
|
||||
#
|
||||
#### version :1.1.3
|
||||
**time:2018年6月2日12:16:58** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修改正则RegexUtils.java
|
||||
>2. 修改正则StrUtil.java->扩展genUUID()
|
||||
|
||||
#
|
||||
#### version :1.1.2
|
||||
**time:** 2018-5-16 15:03:28<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修改依赖
|
||||
|
||||
#
|
||||
#### version :1.1.1
|
||||
**time:** 2018-5-12 22:25:05<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 添加RSA
|
||||
#
|
||||
|
||||
##### version :1.1.0
|
||||
**time:** 2018-5-12 22:25:05<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 添加支持加密功能
|
||||
#
|
||||
|
||||
#### version :1.0.0
|
||||
**time:** 2018-1-31 12:16:10<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 基于java8开发的web应用工具包
|
||||
yexuejc-base 更新记录
|
||||
------------------
|
||||
|
||||
#### version :1.3.6
|
||||
**time:2019-1-10 14:55:13** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. json增加下划线、驼峰互转
|
||||
#
|
||||
#### version :1.3.5
|
||||
**time:2019-1-7 17:19:22** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 增加兼容类型
|
||||
#
|
||||
#### version :1.3.4
|
||||
**time:2019-1-2 20:32:12** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil list类型修复
|
||||
#
|
||||
#### version :1.3.3
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. MoneyUtil 扩展元转分
|
||||
#
|
||||
#### version :1.3.2
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 枚举类型修复
|
||||
#
|
||||
#### version :1.3.1
|
||||
**time:2019-1-2 14:06:47** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. objUtil 增加类字段(驼峰)转换成下划线
|
||||
#
|
||||
#### version :1.3.0
|
||||
**time:2018-12-30 16:47:50** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 移交发布到maven中央仓库
|
||||
>2. 移交后变更groupId 为`top.yexuejc`
|
||||
>3. 源码发布由`成都极致思维网络科技有限公司`维护,github开源地址不变,gitee从组织[ICC(InCloudCode)](https://gitee.com/incloudcode)转移到[成都极致思维网络科技有限公司/yexuejc-base](https://gitee.com/jzsw-it/yexuejc-base)
|
||||
|
||||
#
|
||||
#### version :1.2.9
|
||||
**time:2018-12-29 14:51:33** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 获取RSA密钥增加以输入流的形式获取密钥
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.8
|
||||
**time:2018-12-28 20:10:14** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 新增[ObjUtil](src/main/java/com/yexuejc/base/util/ObjUtil.java) 对类(对象)进行处理,提供深度克隆
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.7
|
||||
**time:2018-12-24 15:31:01** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. FileUtil增加base64转File `base64ToFile()`
|
||||
|
||||
#
|
||||
#### version :1.2.6
|
||||
**time:2018-12-21 14:58:49** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. RSA 验签增加初始化方法
|
||||
|
||||
#
|
||||
#### version :1.2.5
|
||||
**time:2018-12-20 13:13:23** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 丰富[JsonUtil](src/main/java/com/yexuejc/base/util/JsonUtil.java),支持直接对Map泛型转换
|
||||
|
||||
#
|
||||
#### version :1.2.4
|
||||
**time:2018-11-27 14:46:04** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 工具类的优化
|
||||
>2.规范代码
|
||||
|
||||
#
|
||||
#### version :1.2.3
|
||||
**time:2018-11-23 16:45:42** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修复RSA加密(签名)时选择的Base64(encodeBase64URLSafeString、encodeBase64String)区分
|
||||
#
|
||||
#### version :1.2.1
|
||||
**time:2018-11-9 15:05:06** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化resps
|
||||
#
|
||||
#### version :1.2.2
|
||||
**time:2018-11-20 20:20:12** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化RSA 加解密
|
||||
>1. 增加RSA 签名
|
||||
#
|
||||
#### version :1.2.1
|
||||
**time:2018-11-9 15:05:06** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化resps
|
||||
#
|
||||
#### version :1.2.0
|
||||
**time:2018-10-19 11:38:20** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 增加异步线程处理工具
|
||||
```$java
|
||||
SysUtil.threadRun(() -> {
|
||||
//异步执行代码块
|
||||
}
|
||||
```
|
||||
#
|
||||
|
||||
#### version :1.1.9
|
||||
**time:2018-9-23 11:57:36** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化工具类包名:不向下兼容,升级请修改
|
||||
>2. 升级JWT工具类:更改为单例模式,可配置参数
|
||||
#
|
||||
|
||||
#### version :1.1.8
|
||||
**time:2018-9-3 19:29:56** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 增肌图片处理工具类
|
||||
>2. 增肌3des工具类
|
||||
>3. 增肌RSA工具类
|
||||
>4. 优化其他工具类
|
||||
#
|
||||
#### version :1.1.7
|
||||
**time:2018-8-17 11:22:50** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化ApiVO
|
||||
#
|
||||
|
||||
#### version :1.1.6
|
||||
**time:2018-7-7 11:32:56** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. maven仓库更新
|
||||
#
|
||||
|
||||
#### version :1.1.5
|
||||
**time:2018-6-19 22:16:34** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 优化ApiVO
|
||||
|
||||
#
|
||||
#### version :1.1.4
|
||||
**time:2018-6-14 22:27:59** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 统一编码:UTF-8
|
||||
|
||||
#
|
||||
#### version :1.1.3
|
||||
**time:2018年6月2日12:16:58** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修改正则RegexUtils.java
|
||||
>2. 修改正则StrUtil.java->扩展genUUID()
|
||||
|
||||
#
|
||||
#### version :1.1.2
|
||||
**time:** 2018-5-16 15:03:28<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 修改依赖
|
||||
|
||||
#
|
||||
#### version :1.1.1
|
||||
**time:** 2018-5-12 22:25:05<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 添加RSA
|
||||
#
|
||||
|
||||
##### version :1.1.0
|
||||
**time:** 2018-5-12 22:25:05<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 添加支持加密功能
|
||||
#
|
||||
|
||||
#### version :1.0.0
|
||||
**time:** 2018-1-31 12:16:10<br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1. 基于java8开发的web应用工具包
|
||||
#
|
550
pom.xml
550
pom.xml
@ -1,276 +1,276 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>top.yexuejc</groupId>
|
||||
<artifactId>yexuejc-base</artifactId>
|
||||
<version>1.3.5</version>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||||
<description>Common toolkits based on JDK8 packaging</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>yexuejc</name>
|
||||
<email>yexuejc@gmail.com</email>
|
||||
<organization>Chengdu Ultimate Thinking Network Technology Co., Ltd.</organization>
|
||||
<timezone>+8</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>
|
||||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||||
</connection>
|
||||
<developerConnection>
|
||||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||||
</developerConnection>
|
||||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<repos.yexuejc.url>https://nexus.yexuejc.club/repository/</repos.yexuejc.url>
|
||||
<repos.mcworle.url>https://nexus.mcworle.com/repository/</repos.mcworle.url>
|
||||
<repos.aliyun.url>http://maven.aliyun.com/nexus/content/groups/public</repos.aliyun.url>
|
||||
<repos.jitpack.url>https://jitpack.io</repos.jitpack.url>
|
||||
<jjwt.version>0.7.0</jjwt.version>
|
||||
<maven.compiler.verbose>true</maven.compiler.verbose>
|
||||
<java.version>1.8</java.version>
|
||||
<validation-api.version>1.1.0.Final</validation-api.version>
|
||||
<commons-codec.version>1.10</commons-codec.version>
|
||||
<commons-io.version>2.6</commons-io.version>
|
||||
<bcprov-jdk15on.version>1.60</bcprov-jdk15on.version>
|
||||
<guava.version>20.0</guava.version>
|
||||
<!-- 文件拷贝时的编码 -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<!-- 编译时的编码 -->
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- JJWT -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt</artifactId>
|
||||
<version>${jjwt.version}</version>
|
||||
</dependency>
|
||||
<!-- 数据校验框架 -->
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>${validation-api.version}</version>
|
||||
</dependency>
|
||||
<!--base64使用到的依赖-->
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>${commons-codec.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<!--IOUtils使用到的依赖-->
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
</dependency>
|
||||
<!--支持大量的密码术算法,并提供JCE 1.2.1的实现-->
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
<version>${bcprov-jdk15on.version}</version>
|
||||
</dependency>
|
||||
<!--com.yexuejc.base.util.SysUtil.threadRun 异步处理代码-->
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>${guava.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<source>8</source>
|
||||
<target>8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 打包源码 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- 使用spring boot的maven插件进行打包 -->
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- 是否打出可执行的jar包(仅支持Linux格式) -->
|
||||
<executable>true</executable>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Javadoc -->
|
||||
<!--<plugin>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-javadoc-plugin</artifactId>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<phase>package</phase>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>jar</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
<!-- GPG -->
|
||||
<!--<plugin> <!– 进行延签 –>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-gpg-plugin</artifactId>-->
|
||||
<!--<version>1.6</version>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<phase>verify</phase>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>sign</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>yexuejc-nexus-public</id>
|
||||
<name>yexuejc-nexus-public</name>
|
||||
<url>${repos.yexuejc.url}maven-public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>aliyun-nexus-public</id>
|
||||
<name>aliyun-nexus-public</name>
|
||||
<url>${repos.aliyun.url}</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>${repos.jitpack.url}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- 中间件jar包发布目标 -->
|
||||
<distributionManagement>
|
||||
<!--中央仓库发布-->
|
||||
<!--<snapshotRepository>-->
|
||||
<!--<id>sonatype-nexus-snapshots</id>-->
|
||||
<!--<name>Sonatype Nexus Snapshots</name>-->
|
||||
<!--<url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
|
||||
<!--</snapshotRepository>-->
|
||||
<!--<repository>-->
|
||||
<!--<id>sonatype-nexus-staging</id>-->
|
||||
<!--<name>Nexus Release Repository</name>-->
|
||||
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
|
||||
<!--</repository>-->
|
||||
|
||||
<!-- 私服仓库发布
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>nexus-release</name>
|
||||
<url>${repos.yexuejc.url}maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>nexus-snapshots</name>
|
||||
<url>${repos.yexuejc.url}maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
-->
|
||||
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>nexus-release</name>
|
||||
<url>${repos.mcworle.url}maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>nexus-snapshots</name>
|
||||
<url>${repos.mcworle.url}maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>sonatype-oss-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--Javadoc-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>top.yexuejc</groupId>
|
||||
<artifactId>yexuejc-base</artifactId>
|
||||
<version>1.3.6</version>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||||
<description>Common toolkits based on JDK8 packaging</description>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache Software License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
|
||||
<developers>
|
||||
<developer>
|
||||
<name>yexuejc</name>
|
||||
<email>yexuejc@gmail.com</email>
|
||||
<organization>Chengdu Ultimate Thinking Network Technology Co., Ltd.</organization>
|
||||
<timezone>+8</timezone>
|
||||
</developer>
|
||||
</developers>
|
||||
|
||||
<scm>
|
||||
<connection>
|
||||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||||
</connection>
|
||||
<developerConnection>
|
||||
scm:git:https://github.com/yexuejc/yexuejc-base.git
|
||||
</developerConnection>
|
||||
<url>https://github.com/yexuejc/yexuejc-base</url>
|
||||
</scm>
|
||||
|
||||
<properties>
|
||||
<repos.yexuejc.url>https://nexus.yexuejc.club/repository/</repos.yexuejc.url>
|
||||
<repos.mcworle.url>https://nexus.mcworle.com/repository/</repos.mcworle.url>
|
||||
<repos.aliyun.url>http://maven.aliyun.com/nexus/content/groups/public</repos.aliyun.url>
|
||||
<repos.jitpack.url>https://jitpack.io</repos.jitpack.url>
|
||||
<jjwt.version>0.7.0</jjwt.version>
|
||||
<maven.compiler.verbose>true</maven.compiler.verbose>
|
||||
<java.version>1.8</java.version>
|
||||
<validation-api.version>1.1.0.Final</validation-api.version>
|
||||
<commons-codec.version>1.10</commons-codec.version>
|
||||
<commons-io.version>2.6</commons-io.version>
|
||||
<bcprov-jdk15on.version>1.60</bcprov-jdk15on.version>
|
||||
<guava.version>20.0</guava.version>
|
||||
<!-- 文件拷贝时的编码 -->
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<!-- 编译时的编码 -->
|
||||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!-- JJWT -->
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt</artifactId>
|
||||
<version>${jjwt.version}</version>
|
||||
</dependency>
|
||||
<!-- 数据校验框架 -->
|
||||
<dependency>
|
||||
<groupId>javax.validation</groupId>
|
||||
<artifactId>validation-api</artifactId>
|
||||
<version>${validation-api.version}</version>
|
||||
</dependency>
|
||||
<!--base64使用到的依赖-->
|
||||
<dependency>
|
||||
<groupId>commons-codec</groupId>
|
||||
<artifactId>commons-codec</artifactId>
|
||||
<version>${commons-codec.version}</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
<!--IOUtils使用到的依赖-->
|
||||
<dependency>
|
||||
<groupId>commons-io</groupId>
|
||||
<artifactId>commons-io</artifactId>
|
||||
<version>${commons-io.version}</version>
|
||||
</dependency>
|
||||
<!--支持大量的密码术算法,并提供JCE 1.2.1的实现-->
|
||||
<dependency>
|
||||
<groupId>org.bouncycastle</groupId>
|
||||
<artifactId>bcprov-jdk15on</artifactId>
|
||||
<version>${bcprov-jdk15on.version}</version>
|
||||
</dependency>
|
||||
<!--com.yexuejc.base.util.SysUtil.threadRun 异步处理代码-->
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
<artifactId>guava</artifactId>
|
||||
<version>${guava.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
<build>
|
||||
<finalName>${project.artifactId}</finalName>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<source>8</source>
|
||||
<target>8</target>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- 打包源码 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<version>3.0.1</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!-- 使用spring boot的maven插件进行打包 -->
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>build-info</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<!-- 是否打出可执行的jar包(仅支持Linux格式) -->
|
||||
<executable>true</executable>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!-- Javadoc -->
|
||||
<!--<plugin>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-javadoc-plugin</artifactId>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<phase>package</phase>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>jar</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
<!-- GPG -->
|
||||
<!--<plugin> <!– 进行延签 –>-->
|
||||
<!--<groupId>org.apache.maven.plugins</groupId>-->
|
||||
<!--<artifactId>maven-gpg-plugin</artifactId>-->
|
||||
<!--<version>1.6</version>-->
|
||||
<!--<executions>-->
|
||||
<!--<execution>-->
|
||||
<!--<phase>verify</phase>-->
|
||||
<!--<goals>-->
|
||||
<!--<goal>sign</goal>-->
|
||||
<!--</goals>-->
|
||||
<!--</execution>-->
|
||||
<!--</executions>-->
|
||||
<!--</plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>yexuejc-nexus-public</id>
|
||||
<name>yexuejc-nexus-public</name>
|
||||
<url>${repos.yexuejc.url}maven-public/</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>aliyun-nexus-public</id>
|
||||
<name>aliyun-nexus-public</name>
|
||||
<url>${repos.aliyun.url}</url>
|
||||
</repository>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>${repos.jitpack.url}</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
|
||||
<!-- 中间件jar包发布目标 -->
|
||||
<distributionManagement>
|
||||
<!--中央仓库发布-->
|
||||
<!--<snapshotRepository>-->
|
||||
<!--<id>sonatype-nexus-snapshots</id>-->
|
||||
<!--<name>Sonatype Nexus Snapshots</name>-->
|
||||
<!--<url>https://oss.sonatype.org/content/repositories/snapshots/</url>-->
|
||||
<!--</snapshotRepository>-->
|
||||
<!--<repository>-->
|
||||
<!--<id>sonatype-nexus-staging</id>-->
|
||||
<!--<name>Nexus Release Repository</name>-->
|
||||
<!--<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>-->
|
||||
<!--</repository>-->
|
||||
|
||||
<!-- 私服仓库发布
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>nexus-release</name>
|
||||
<url>${repos.yexuejc.url}maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>nexus-snapshots</name>
|
||||
<url>${repos.yexuejc.url}maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
-->
|
||||
|
||||
<repository>
|
||||
<id>releases</id>
|
||||
<name>nexus-release</name>
|
||||
<url>${repos.mcworle.url}maven-releases/</url>
|
||||
</repository>
|
||||
<snapshotRepository>
|
||||
<id>snapshots</id>
|
||||
<name>nexus-snapshots</name>
|
||||
<url>${repos.mcworle.url}maven-snapshots/</url>
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>sonatype-oss-release</id>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-source-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-sources</id>
|
||||
<goals>
|
||||
<goal>jar-no-fork</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<!--Javadoc-->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>jar</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>sign-artifacts</id>
|
||||
<phase>verify</phase>
|
||||
<goals>
|
||||
<goal>sign</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
Loading…
x
Reference in New Issue
Block a user