434 lines
12 KiB
XML
434 lines
12 KiB
XML
<?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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.1.1.RELEASE</version>
|
||
<relativePath/>
|
||
</parent>
|
||
<groupId>com.bonus.boot</groupId>
|
||
<artifactId>HnRealNameBmw</artifactId>
|
||
<version>1.0.1-SNAPSHOT</version>
|
||
<name>real-name</name>
|
||
<description>manager</description>
|
||
<properties>
|
||
<java.version>1.8</java.version>
|
||
<swagger.version>2.8.0</swagger.version>
|
||
<google.guava>23.0</google.guava>
|
||
<fastjson.version>1.2.47</fastjson.version>
|
||
<druid.version>1.1.9</druid.version>
|
||
<poi.version>3.17</poi.version>
|
||
<jwt.version>0.9.0</jwt.version>
|
||
<mybatis.version>1.3.2</mybatis.version>
|
||
<spring-cloud.version>Greenwich.SR1</spring-cloud.version>
|
||
<spring-cloud-alibaba.version>2.1.0.RELEASE</spring-cloud-alibaba.version>
|
||
<!-- 新增:指定 EasyPoi 版本适配 POI 3.17 -->
|
||
<easypoi.version>3.2.0</easypoi.version>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.springframework.cloud</groupId>
|
||
<artifactId>spring-cloud-dependencies</artifactId>
|
||
<version>${spring-cloud.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-alibaba-dependencies</artifactId>
|
||
<version>${spring-cloud-alibaba.version}</version>
|
||
<type>pom</type>
|
||
<scope>import</scope>
|
||
</dependency>
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<dependencies>
|
||
<!-- 1. Nacos 相关依赖 -->
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
|
||
<version>2.1.0.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||
<version>2.1.0.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba.cloud</groupId>
|
||
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 2. Spring Boot 核心依赖 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-devtools</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</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-starter-security</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 3. 数据相关依赖 -->
|
||
<dependency>
|
||
<groupId>org.mybatis.spring.boot</groupId>
|
||
<artifactId>mybatis-spring-boot-starter</artifactId>
|
||
<version>1.3.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid-spring-boot-starter</artifactId>
|
||
<version>${druid.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
<scope>runtime</scope>
|
||
</dependency>
|
||
|
||
<!-- 4. 工具类及第三方依赖 -->
|
||
<dependency>
|
||
<groupId>tk.mybatis</groupId>
|
||
<artifactId>mapper</artifactId>
|
||
<version>4.1.5</version>
|
||
</dependency>
|
||
|
||
<!-- POI 核心依赖(3.17,统一版本) -->
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml-schemas</artifactId>
|
||
<version>${poi.version}</version>
|
||
</dependency>
|
||
|
||
<!-- 其他工具依赖 -->
|
||
<dependency>
|
||
<groupId>com.jcraft</groupId>
|
||
<artifactId>jsch</artifactId>
|
||
<version>0.1.55</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>javax.xml.bind</groupId>
|
||
<artifactId>jaxb-api</artifactId>
|
||
<version>2.3.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.sun.xml.bind</groupId>
|
||
<artifactId>jaxb-impl</artifactId>
|
||
<version>2.3.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.sun.xml.bind</groupId>
|
||
<artifactId>jaxb-core</artifactId>
|
||
<version>2.3.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.9</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>1.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-fileupload</groupId>
|
||
<artifactId>commons-fileupload</artifactId>
|
||
<version>1.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.28</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
</dependency>
|
||
|
||
<!-- WebService 依赖 -->
|
||
<dependency>
|
||
<groupId>javax.xml.rpc</groupId>
|
||
<artifactId>javax.xml.rpc-api</artifactId>
|
||
<version>1.1.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.axis</groupId>
|
||
<artifactId>axis</artifactId>
|
||
<version>1.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-logging</groupId>
|
||
<artifactId>commons-logging</artifactId>
|
||
<version>1.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-discovery</groupId>
|
||
<artifactId>commons-discovery</artifactId>
|
||
<version>0.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>wsdl4j</groupId>
|
||
<artifactId>wsdl4j</artifactId>
|
||
<version>1.6.2</version>
|
||
</dependency>
|
||
|
||
<!-- 视频处理依赖 -->
|
||
<dependency>
|
||
<groupId>ws.schild</groupId>
|
||
<artifactId>jave-core</artifactId>
|
||
<version>2.4.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ws.schild</groupId>
|
||
<artifactId>jave-native-win64</artifactId>
|
||
<version>2.4.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ws.schild</groupId>
|
||
<artifactId>jave-native-linux64</artifactId>
|
||
<version>2.4.5</version>
|
||
</dependency>
|
||
|
||
<!-- EasyPoi 降级至 3.2.0(适配 POI 3.17) -->
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-base</artifactId>
|
||
<version>${easypoi.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.hibernate</groupId>
|
||
<artifactId>hibernate-validator</artifactId>
|
||
<version>6.0.18.Final</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.freemarker</groupId>
|
||
<artifactId>freemarker</artifactId>
|
||
<version>2.3.30</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.aspose.words</groupId>
|
||
<artifactId>aspose-words</artifactId>
|
||
<version>15.8.0</version>
|
||
</dependency>
|
||
|
||
<!-- PDF 依赖 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itextpdf</artifactId>
|
||
<version>5.5.10</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>itext-asian</artifactId>
|
||
<version>5.2.0</version>
|
||
</dependency>
|
||
|
||
<!-- 分页插件 -->
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper</artifactId>
|
||
<version>5.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.pagehelper</groupId>
|
||
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
||
<version>1.3.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.jetbrains</groupId>
|
||
<artifactId>annotations</artifactId>
|
||
<version>13.0</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.19</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.5.5</version>
|
||
</dependency>
|
||
|
||
<!-- OKHttp3 -->
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>3.10.0</version>
|
||
</dependency>
|
||
|
||
<!-- Hutool 5.3.2(适配 POI 3.17,移除重复依赖) -->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.3.2</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- Swagger -->
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-swagger2</artifactId>
|
||
<version>2.8.0</version>
|
||
</dependency>
|
||
|
||
<!-- Jackson 依赖 -->
|
||
<dependency>
|
||
<groupId>org.codehaus.jackson</groupId>
|
||
<artifactId>jackson-core-asl</artifactId>
|
||
<version>1.9.13</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.codehaus.jackson</groupId>
|
||
<artifactId>jackson-mapper-asl</artifactId>
|
||
<version>1.9.13</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.monitorjbl</groupId>
|
||
<artifactId>xlsx-streamer</artifactId>
|
||
<version>2.1.0</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.poi</groupId>
|
||
<artifactId>poi-ooxml</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<!-- JWT 依赖 -->
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt</artifactId>
|
||
<version>0.9.1</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
|
||
<!-- Lombok -->
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.24</version>
|
||
</dependency>
|
||
|
||
<!-- Swagger 注解 -->
|
||
<dependency>
|
||
<groupId>io.swagger</groupId>
|
||
<artifactId>swagger-annotations</artifactId>
|
||
<version>1.6.2</version>
|
||
<scope>compile</scope>
|
||
</dependency>
|
||
|
||
<!-- 本地 jar 依赖 -->
|
||
<dependency>
|
||
<groupId>sdk-java</groupId>
|
||
<artifactId>sdk-java</artifactId>
|
||
<version>3.6.5</version>
|
||
<scope>system</scope>
|
||
<systemPath>${project.basedir}/libs/sdk-java-3.6.5.jar</systemPath>
|
||
</dependency>
|
||
<!--隔离装置驱动-->
|
||
<dependency>
|
||
<groupId>sgjdbc</groupId>
|
||
<artifactId>sgjdbc</artifactId>
|
||
<version>5870</version>
|
||
<scope>system</scope>
|
||
<systemPath>${basedir}/libs/sgjdbc-V4.3.21.1-build-20240801.5870.jar</systemPath>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<finalName>bonus-realname-service</finalName>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<version>2.1.1.RELEASE</version>
|
||
<configuration>
|
||
<includeSystemScope>true</includeSystemScope>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-resources-plugin</artifactId>
|
||
<version>2.6</version>
|
||
<configuration>
|
||
<encoding>UTF-8</encoding>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>2.22.2</version>
|
||
<configuration>
|
||
<skipTests>true</skipTests>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-install-plugin</artifactId>
|
||
<version>2.5.2</version>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project> |