|
|
|
|
|
<?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>
|
|
|
|
|
|
|
|
|
|
|
|
<parent>
|
|
|
|
|
|
<artifactId>hognshu</artifactId>
|
|
|
|
|
|
<groupId>com.hongshu</groupId>
|
|
|
|
|
|
<version>1.0.0</version>
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
|
|
<artifactId>hongshu-common</artifactId>
|
|
|
|
|
|
|
|
|
|
|
|
<description>
|
|
|
|
|
|
common通用工具
|
|
|
|
|
|
</description>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<!-- Spring框架基本的核心工具 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- SpringWeb模块 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- spring security 安全认证 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 自定义验证注解 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!--常用工具类 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- JSON工具类 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
|
|
|
|
<artifactId>jackson-databind</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 动态数据源 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>3.5.2</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 阿里JSON解析器 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba.fastjson2</groupId>
|
|
|
|
|
|
<artifactId>fastjson2</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- io常用工具类 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- excel工具 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- yml解析器 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Token生成与解析-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Jaxb -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- redis 缓存操作 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- pool 对象池 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- servlet包 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- lombok -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Swagger3依赖 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.springfox</groupId>
|
|
|
|
|
|
<artifactId>springfox-boot-starter</artifactId>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>io.swagger</groupId>
|
|
|
|
|
|
<artifactId>swagger-models</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- hutool-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- es-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>co.elastic.clients</groupId>
|
|
|
|
|
|
<artifactId>elasticsearch-java</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<!-- gson-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!--Markdown 转 Html-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.vladsch.flexmark</groupId>
|
|
|
|
|
|
<artifactId>flexmark-all</artifactId>
|
|
|
|
|
|
<version>0.62.2</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.qiniu</groupId>
|
|
|
|
|
|
<artifactId>qiniu-java-sdk</artifactId>
|
|
|
|
|
|
<version>[7.2.0, 7.2.99]</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- mybatis-plus-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
|
|
|
<exclusions>
|
|
|
|
|
|
<exclusion>
|
|
|
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
|
|
|
</exclusion>
|
|
|
|
|
|
</exclusions>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 引入minio依赖,用于文件上传服务-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>io.minio</groupId>
|
|
|
|
|
|
<artifactId>minio</artifactId>
|
|
|
|
|
|
<version>7.1.4</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.dyuproject.protostuff/protostuff-core -->
|
|
|
|
|
|
<!-- 序列化相关-->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.dyuproject.protostuff</groupId>
|
|
|
|
|
|
<artifactId>protostuff-core</artifactId>
|
|
|
|
|
|
<version>1.1.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.dyuproject.protostuff</groupId>
|
|
|
|
|
|
<artifactId>protostuff-runtime</artifactId>
|
|
|
|
|
|
<version>1.1.5</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
|
<artifactId>spring-mock</artifactId>
|
|
|
|
|
|
<version>2.0.8</version>
|
|
|
|
|
|
<scope>compile</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<!--dozer java bean转换类 -->
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.github.dozermapper</groupId>
|
|
|
|
|
|
<artifactId>dozer-spring-boot-starter</artifactId>
|
|
|
|
|
|
<version>6.5.2</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|