|
|
<?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>
|
|
|
|
|
|
<!-- 升级Spring Boot版本到较新的稳定版 -->
|
|
|
<parent>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
|
|
|
<groupId>org.example</groupId>
|
|
|
<artifactId>ipdz</artifactId>
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
|
|
<!-- 集中管理版本号,便于统一升级 -->
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
<!-- Spring相关 -->
|
|
|
<springfox.version>2.9.2</springfox.version>
|
|
|
|
|
|
<!-- 数据库相关 -->
|
|
|
<mybatis-plus.version>3.5.3.1</mybatis-plus.version>
|
|
|
<mybatis-plus-generator.version>3.5.3.1</mybatis-plus-generator.version>
|
|
|
<mysql-connector.version>8.2.0</mysql-connector.version>
|
|
|
<druid.version>1.2.20</druid.version>
|
|
|
<dynamic-datasource.version>3.6.1</dynamic-datasource.version>
|
|
|
<pagehelper.version>1.4.6</pagehelper.version>
|
|
|
<mybatis-plus-join.version>1.4.5</mybatis-plus-join.version>
|
|
|
|
|
|
<!-- 工具类 -->
|
|
|
<hutool.version>5.8.25</hutool.version>
|
|
|
<commons-lang3.version>3.14.0</commons-lang3.version>
|
|
|
<commons-collections.version>3.2.2</commons-collections.version>
|
|
|
<fastjson.version>1.2.83</fastjson.version>
|
|
|
<gson.version>2.10.1</gson.version>
|
|
|
<mapstruct.version>1.5.5.Final</mapstruct.version>
|
|
|
<jasypt.version>1.9.3</jasypt.version>
|
|
|
|
|
|
<!-- 网络相关 -->
|
|
|
<httpclient.version>4.5.14</httpclient.version>
|
|
|
<commons-httpclient.version>3.1</commons-httpclient.version>
|
|
|
|
|
|
<!-- 日志相关 -->
|
|
|
<logback.version>1.2.13</logback.version>
|
|
|
<slf4j.version>1.7.36</slf4j.version>
|
|
|
|
|
|
<!-- 测试相关 -->
|
|
|
<junit.version>4.13.2</junit.version>
|
|
|
|
|
|
<!-- 其他 -->
|
|
|
<jaxen.version>1.1.6</jaxen.version>
|
|
|
<dom4j.version>2.1.4</dom4j.version>
|
|
|
<sigar.version>1.6.4</sigar.version>
|
|
|
<javax.mail.version>1.6.2</javax.mail.version>
|
|
|
<jwt.version>3.18.3</jwt.version>
|
|
|
<axis2.version>1.5.1</axis2.version>
|
|
|
<poi.version>4.1.2</poi.version>
|
|
|
<easyexcel.version>3.3.0</easyexcel.version>
|
|
|
<swagger-bootstrap-ui.version>1.9.6</swagger-bootstrap-ui.version>
|
|
|
<javax.servlet-api.version>4.0.1</javax.servlet-api.version>
|
|
|
<artemis-http-client.version>1.1.2</artemis-http-client.version>
|
|
|
<jaxb-runtime.version>2.3.1</jaxb-runtime.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
<!-- Spring Boot 核心 starters -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 数据库相关 -->
|
|
|
<dependency>
|
|
|
<groupId>com.mysql</groupId>
|
|
|
<artifactId>mysql-connector-j</artifactId>
|
|
|
<version>${mysql-connector.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>${mybatis-plus.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
<version>${mybatis-plus-generator.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
<version>${pagehelper.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
|
|
<version>${dynamic-datasource.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.yulichang</groupId>
|
|
|
<artifactId>mybatis-plus-join</artifactId>
|
|
|
<version>${mybatis-plus-join.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid</artifactId>
|
|
|
<version>${druid.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 文档相关 -->
|
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
<version>${springfox.version}</version>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
<version>${springfox.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.github.xiaoymin</groupId>
|
|
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
|
|
<version>${swagger-bootstrap-ui.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 工具类 -->
|
|
|
<dependency>
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
<artifactId>mapstruct</artifactId>
|
|
|
<version>${mapstruct.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
<version>${mapstruct.version}</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
<artifactId>hutool-all</artifactId>
|
|
|
<version>${hutool.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
<version>${commons-lang3.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-collections</groupId>
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
<version>${commons-collections.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>${fastjson.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
<artifactId>gson</artifactId>
|
|
|
<version>${gson.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.jasypt</groupId>
|
|
|
<artifactId>jasypt</artifactId>
|
|
|
<version>${jasypt.version}</version>
|
|
|
</dependency>
|
|
|
<!-- yml解析器 -->
|
|
|
<dependency>
|
|
|
<groupId>org.yaml</groupId>
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 网络相关 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
<version>${httpclient.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
<version>${httpclient.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>commons-httpclient</groupId>
|
|
|
<artifactId>commons-httpclient</artifactId>
|
|
|
<version>${commons-httpclient.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.hikvision.ga</groupId>
|
|
|
<artifactId>artemis-http-client</artifactId>
|
|
|
<version>${artemis-http-client.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 日志相关 -->
|
|
|
<dependency>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
<version>${logback.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-core</artifactId>
|
|
|
<version>${logback.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
<version>${slf4j.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 数据处理 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>${poi.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
<version>${easyexcel.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 安全相关 -->
|
|
|
<dependency>
|
|
|
<groupId>com.auth0</groupId>
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
<version>${jwt.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- Web相关 -->
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
<version>${javax.servlet-api.version}</version>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.apache.tomcat.embed</groupId>
|
|
|
<artifactId>tomcat-embed-jasper</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 其他依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>jaxen</groupId>
|
|
|
<artifactId>jaxen</artifactId>
|
|
|
<version>${jaxen.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>${dom4j.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.fusesource</groupId>
|
|
|
<artifactId>sigar</artifactId>
|
|
|
<version>${sigar.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.sun.mail</groupId>
|
|
|
<artifactId>javax.mail</artifactId>
|
|
|
<version>${javax.mail.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.glassfish.jaxb</groupId>
|
|
|
<artifactId>jaxb-runtime</artifactId>
|
|
|
<version>${jaxb-runtime.version}</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<optional>true</optional>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 测试相关 -->
|
|
|
<dependency>
|
|
|
<groupId>junit</groupId>
|
|
|
<artifactId>junit</artifactId>
|
|
|
<version>${junit.version}</version>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 添加jstl标签库依赖模块 -->
|
|
|
<dependency>
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
<artifactId>jstl</artifactId>
|
|
|
</dependency>
|
|
|
<!--添加tomcat依赖模块.-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>commons-beanutils</groupId>
|
|
|
<artifactId>commons-beanutils</artifactId>
|
|
|
<version>1.9.4</version>
|
|
|
</dependency>
|
|
|
<!-- Jsoup HTML 解析库(最新稳定版) -->
|
|
|
<dependency>
|
|
|
<groupId>org.jsoup</groupId>
|
|
|
<artifactId>jsoup</artifactId>
|
|
|
<version>1.17.2</version> <!-- 版本可根据官网更新,建议使用最新版 -->
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>net.sf.json-lib</groupId>
|
|
|
<artifactId>json-lib</artifactId>
|
|
|
<version>2.4</version>
|
|
|
<classifier>jdk15</classifier>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<!-- Apache Commons FileUpload -->
|
|
|
<dependency>
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
<version>1.6.0</version> <!-- 可根据需要调整为最新版本,截至2024年10月最新稳定版本是1.4 -->
|
|
|
</dependency>
|
|
|
<!-- Apache Commons IO,commons-fileupload依赖它 -->
|
|
|
<dependency>
|
|
|
<groupId>commons-io</groupId>
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
<version>2.14.0</version> <!-- 可根据需要调整为最新版本 -->
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.alisoft.xplatform</groupId>
|
|
|
<artifactId>alibaba-asf-cache</artifactId>
|
|
|
<version>2.5.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>com.example</groupId>
|
|
|
<artifactId>qrcode</artifactId>
|
|
|
<version>1.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.htmlparser</groupId>
|
|
|
<artifactId>htmlparser</artifactId>
|
|
|
<version>2.1</version>
|
|
|
</dependency>
|
|
|
<!-- 1. JAXB 核心 API(规范接口) -->
|
|
|
<dependency>
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
<version>2.3.1</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 4. istack-commons 运行时(jaxb-runtime 间接依赖,若缺失可手动引入) -->
|
|
|
<dependency>
|
|
|
<groupId>com.sun.istack</groupId>
|
|
|
<artifactId>istack-commons-runtime</artifactId>
|
|
|
<version>3.0.7</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 5. STAX 扩展(jaxb-runtime 间接依赖,若缺失可手动引入) -->
|
|
|
<dependency>
|
|
|
<groupId>org.jvnet.staxex</groupId>
|
|
|
<artifactId>stax-ex</artifactId>
|
|
|
<version>1.8</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 6. Fast Infoset(XML 二进制优化,jaxb-runtime 间接依赖,若缺失可手动引入) -->
|
|
|
<dependency>
|
|
|
<groupId>com.sun.xml.fastinfoset</groupId>
|
|
|
<artifactId>FastInfoset</artifactId>
|
|
|
<version>1.2.15</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 7. JAF 激活框架 API(jaxb-runtime 间接依赖,若缺失可手动引入) -->
|
|
|
<dependency>
|
|
|
<groupId>javax.activation</groupId>
|
|
|
<artifactId>javax.activation-api</artifactId>
|
|
|
<version>1.2.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>icu.mhb</groupId>
|
|
|
<artifactId>mybatis-plus-join-boot-starter</artifactId>
|
|
|
<version>2.1.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<configuration>
|
|
|
<includeSystemScope>true</includeSystemScope>
|
|
|
<excludes>
|
|
|
<exclude>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
</exclude>
|
|
|
</excludes>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
<compilerArgs>
|
|
|
<arg>-extdirs</arg>
|
|
|
<arg>${project.basedir}/lib</arg>
|
|
|
</compilerArgs>
|
|
|
<!-- 支持mapstruct注解处理器 -->
|
|
|
<annotationProcessorPaths>
|
|
|
<path>
|
|
|
<groupId>org.mapstruct</groupId>
|
|
|
<artifactId>mapstruct-processor</artifactId>
|
|
|
<version>${mapstruct.version}</version>
|
|
|
</path>
|
|
|
<path>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>${lombok.version}</version>
|
|
|
</path>
|
|
|
</annotationProcessorPaths>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
</project>
|