<?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>org.example</groupId>
|
<artifactId>prod</artifactId>
|
<version>1.0-SNAPSHOT</version>
|
|
<parent>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
<version>2.5.0</version>
|
<relativePath/>
|
</parent>
|
|
<properties>
|
<java.version>1.8</java.version>
|
<lombok.version>1.18.20</lombok.version>
|
<mapstruct.version>1.4.2.Final</mapstruct.version>
|
</properties>
|
|
<dependencies>
|
|
<!--单元测试依赖-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
|
<!--支付宝对接SDK依赖-->
|
<dependency>
|
<groupId>com.alipay.sdk</groupId>
|
<artifactId>alipay-sdk-java</artifactId>
|
<version>4.22.49.ALL</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/com.alipay.sdk/alipay-easysdk -->
|
<!--<dependency>-->
|
<!-- <!–服务端对接参考文档: https://opendocs.alipay.com/open/203/105285 -->
|
<!-- <groupId>com.alipay.sdk</groupId>-->
|
<!-- <artifactId>alipay-easysdk</artifactId>-->
|
<!-- <version>2.2.1</version>-->
|
<!--</dependency>-->
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<exclusion>
|
<artifactId>log4j-to-slf4j</artifactId>
|
<groupId>org.apache.logging.log4j</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.mapstruct</groupId>
|
<artifactId>mapstruct</artifactId>
|
<version>${mapstruct.version}</version>
|
<scope>provided</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
<!--jwt-->
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt-api</artifactId>
|
<version>0.10.5</version>
|
</dependency>
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt-impl</artifactId>
|
<version>0.10.5</version>
|
<scope>runtime</scope>
|
</dependency>
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt-jackson</artifactId>
|
<version>0.10.5</version>
|
<scope>runtime</scope>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>3.3.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-lang</groupId>
|
<artifactId>commons-lang</artifactId>
|
<version>2.6</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.4</version>
|
</dependency>
|
|
<dependency>
|
<groupId>javax.persistence</groupId>
|
<artifactId>persistence-api</artifactId>
|
<version>1.0.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
<version>5.7.15</version>
|
</dependency>
|
|
<!-- knife4j-swagger -->
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>knife4j-spring-boot-starter</artifactId>
|
<version>2.0.5</version>
|
</dependency>
|
|
<!--SwaggerBootstrapUi-->
|
<dependency>
|
<groupId>com.github.xiaoymin</groupId>
|
<artifactId>swagger-bootstrap-ui</artifactId>
|
<version>1.9.6</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.logging.log4j</groupId>
|
<artifactId>log4j-api</artifactId>
|
<version>2.16.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.directory.studio</groupId>
|
<artifactId>org.apache.commons.codec</artifactId>
|
<version>1.8</version>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-httpclient</groupId>
|
<artifactId>commons-httpclient</artifactId>
|
<version>3.1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>cfca-sadk</groupId>
|
<artifactId>cfca-sadk</artifactId>
|
<version>3.6.2.1</version>
|
<scope>system</scope>
|
<systemPath>${project.basedir}/lib/cfca-sadk-3.6.2.1.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>cfca-logback</groupId>
|
<artifactId>cfca-logback</artifactId>
|
<version>4.1.1.0</version>
|
<scope>system</scope>
|
<systemPath>${project.basedir}/lib/cfca-logback-4.1.1.0.jar</systemPath>
|
</dependency>
|
<!-- 压缩图片 -->
|
<dependency>
|
<groupId>net.coobird</groupId>
|
<artifactId>thumbnailator</artifactId>
|
<version>0.4.8</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-mock -->
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-mock</artifactId>
|
<version>2.0.8</version>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
<version>2.6</version>
|
</dependency>
|
<!-- 压缩图片 -->
|
|
<dependency>
|
<groupId>com.maxmind.geoip2</groupId>
|
<artifactId>geoip2</artifactId>
|
<version>2.15.0</version>
|
</dependency>
|
|
<!--导出Excel表所用poi依赖-->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>4.1.0</version>
|
</dependency>
|
|
<!-- 调用阿里云的全球IP地址查询-->
|
<dependency>
|
<groupId>com.aliyun.api.gateway</groupId>
|
<artifactId>sdk-core-java</artifactId>
|
<version>1.1.7</version>
|
</dependency>
|
<dependency>
|
<groupId>com.fasterxml.jackson.core</groupId>
|
<artifactId>jackson-databind</artifactId>
|
<version>2.11.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<scope>provided</scope>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-test</artifactId>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
<version>3.8.1</version>
|
<configuration>
|
<annotationProcessorPaths>
|
<path>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>${lombok.version}</version>
|
</path>
|
<path>
|
<groupId>org.mapstruct</groupId>
|
<artifactId>mapstruct-processor</artifactId>
|
<version>${mapstruct.version}</version>
|
</path>
|
</annotationProcessorPaths>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<includeSystemScope>true</includeSystemScope>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-maven-plugin</artifactId>
|
<version>1.4.1</version>
|
<executions>
|
<execution>
|
<id>Generate MyBatis Artifacts</id>
|
<!--避免执行mvn package/install时自动执行mybatis-generator-->
|
<phase>deploy</phase>
|
<goals>
|
<goal>generate</goal>
|
</goals>
|
</execution>
|
</executions>
|
<configuration>
|
<verbose>true</verbose>
|
<overwrite>true</overwrite>
|
<configurationFile>src/main/resources/mybatis-generator.xml</configurationFile>
|
</configuration>
|
<dependencies>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<version>8.0.25</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.generator</groupId>
|
<artifactId>mybatis-generator-core</artifactId>
|
<version>1.4.1</version>
|
</dependency>
|
</dependencies>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|