402 lines
14 KiB
XML
402 lines
14 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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||
<modelVersion>4.0.0</modelVersion>
|
||
|
||
<groupId>org.platform</groupId>
|
||
<artifactId>springbootmybatis</artifactId>
|
||
<version>1.0</version>
|
||
|
||
<parent>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-parent</artifactId>
|
||
<version>2.1.3.RELEASE</version>
|
||
<relativePath/>
|
||
</parent>
|
||
<repositories>
|
||
<repository>
|
||
<id>com.e-iceblue</id>
|
||
<name>e-iceblue</name>
|
||
<url>http://repo.e-iceblue.cn/repository/maven-public/</url>
|
||
</repository>
|
||
<repository>
|
||
<id>mvn-repo</id>
|
||
<url>http://maven.ansj.org/</url>
|
||
</repository>
|
||
<repository>
|
||
<id>XINCHECK</id>
|
||
<name>XINCHECK Public Repository</name>
|
||
<url>https://maven.xincheck.com/repository/pro/</url>
|
||
</repository>
|
||
<!-- 阿里云仓库 -->
|
||
<repository>
|
||
<id>aliyun</id>
|
||
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
|
||
</repository>
|
||
</repositories>
|
||
<properties>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<jdk.version>1.8</jdk.version>
|
||
<JAVA_HOME>C:\Program Files\Java\jdk1.8.0_351</JAVA_HOME>
|
||
<!--编译时的编码-->
|
||
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
|
||
<itextpdf.version>7.1.13</itextpdf.version>
|
||
<html2pdf.version>3.0.2</html2pdf.version>
|
||
<pdfbox.version>2.0.27</pdfbox.version>
|
||
<jai-imageio.version>1.4.0</jai-imageio.version>
|
||
<jai-imageio-jpeg2000.version>1.3.0</jai-imageio-jpeg2000.version>
|
||
<okhttp3.version>3.14.9</okhttp3.version>
|
||
<elasticsearch.version>7.15.2</elasticsearch.version>
|
||
</properties>
|
||
|
||
<dependencies>
|
||
<!-- xincheck -->
|
||
<dependency>
|
||
<groupId>com.xincheck</groupId>
|
||
<artifactId>duplicate-check-pro</artifactId>
|
||
<version>0.5.10</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-web</artifactId>
|
||
</dependency>
|
||
<!-- 模版 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>ognl</groupId>
|
||
<artifactId>ognl</artifactId>
|
||
<version>3.3.3</version>
|
||
</dependency>
|
||
<!-- redis组件 -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-data-redis</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-pool2</artifactId>
|
||
</dependency>
|
||
<!-- elasticsearch -->
|
||
<dependency>
|
||
<groupId>org.elasticsearch</groupId>
|
||
<artifactId>elasticsearch</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.elasticsearch.client</groupId>
|
||
<artifactId>elasticsearch-rest-high-level-client</artifactId>
|
||
</dependency>
|
||
<!-- 数据库组件 -->
|
||
<dependency>
|
||
<groupId>mysql</groupId>
|
||
<artifactId>mysql-connector-java</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||
<version>3.4.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.baomidou</groupId>
|
||
<artifactId>dynamic-datasource-spring-boot-starter</artifactId>
|
||
<version>3.2.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.gitee.sunchenbin.mybatis.actable</groupId>
|
||
<artifactId>mybatis-enhance-actable</artifactId>
|
||
<version>1.5.0.RELEASE</version>
|
||
</dependency>
|
||
<!-- json -->
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>1.2.75</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>druid</artifactId>
|
||
<version>1.1.19</version>
|
||
</dependency>
|
||
<!-- api文档 -->
|
||
<dependency>
|
||
<groupId>io.springfox</groupId>
|
||
<artifactId>springfox-boot-starter</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.xiaoymin</groupId>
|
||
<artifactId>swagger-bootstrap-ui</artifactId>
|
||
<version>1.9.6</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<optional>true</optional>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.plugin</groupId>
|
||
<artifactId>spring-plugin-core</artifactId>
|
||
<version>2.0.0.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.plugin</groupId>
|
||
<artifactId>spring-plugin-metadata</artifactId>
|
||
<version>2.0.0.RELEASE</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-logging</artifactId>
|
||
<version>2.4.3</version>
|
||
</dependency>
|
||
<!-- commons -->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-aop</artifactId>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.belerweb</groupId>
|
||
<artifactId>pinyin4j</artifactId>
|
||
<version>2.5.0</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-security</artifactId>
|
||
<version>2.1.4.RELEASE</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>io.jsonwebtoken</groupId>
|
||
<artifactId>jjwt</artifactId>
|
||
<version>0.9.1</version>
|
||
</dependency>
|
||
|
||
<!--验证码kaptcha-->
|
||
<dependency>
|
||
<groupId>com.github.penggle</groupId>
|
||
<artifactId>kaptcha</artifactId>
|
||
<version>2.3.2</version>
|
||
</dependency>
|
||
<!--hutool工具-->
|
||
<dependency>
|
||
<groupId>cn.hutool</groupId>
|
||
<artifactId>hutool-all</artifactId>
|
||
<version>5.7.6</version>
|
||
</dependency>
|
||
<!--单元测试-->
|
||
<dependency>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-starter-test</artifactId>
|
||
</dependency>
|
||
|
||
<!-- 新增依赖-->
|
||
<dependency>
|
||
<groupId>org.jsoup</groupId>
|
||
<artifactId>jsoup</artifactId>
|
||
<version>1.13.1</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-fileupload</groupId>
|
||
<artifactId>commons-fileupload</artifactId>
|
||
<version>1.4</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.5.5</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-codec</artifactId>
|
||
<groupId>commons-codec</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpmime</artifactId>
|
||
<version>4.5</version>
|
||
</dependency>
|
||
<!-- https://mvnrepository.com/artifact/info.debatty/java-string-similarity -->
|
||
<dependency>
|
||
<groupId>info.debatty</groupId>
|
||
<artifactId>java-string-similarity</artifactId>
|
||
<version>2.0.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-base</artifactId>
|
||
<version>4.1.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-web</artifactId>
|
||
<version>4.1.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>cn.afterturn</groupId>
|
||
<artifactId>easypoi-annotation</artifactId>
|
||
<version>4.1.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>easyexcel</artifactId>
|
||
<version>3.1.1</version>
|
||
</dependency>
|
||
|
||
<!-- itext全局引入 -->
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>kernel</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>io</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>layout</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>forms</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>pdfa</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>sign</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>barcodes</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>font-asian</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>hyph</artifactId>
|
||
<version>${itextpdf.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.itextpdf</groupId>
|
||
<artifactId>html2pdf</artifactId>
|
||
<version>${html2pdf.version}</version>
|
||
</dependency>
|
||
|
||
<!-- pdfbox -->
|
||
<dependency>
|
||
<groupId>org.apache.pdfbox</groupId>
|
||
<artifactId>pdfbox</artifactId>
|
||
<version>${pdfbox.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.jai-imageio</groupId>
|
||
<artifactId>jai-imageio-core</artifactId>
|
||
<version>${jai-imageio.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.jai-imageio</groupId>
|
||
<artifactId>jai-imageio-jpeg2000</artifactId>
|
||
<version>${jai-imageio-jpeg2000.version}</version>
|
||
</dependency>
|
||
<!-- okhttp3 -->
|
||
<dependency>
|
||
<groupId>com.squareup.okhttp3</groupId>
|
||
<artifactId>okhttp</artifactId>
|
||
<version>${okhttp3.version}</version>
|
||
</dependency>
|
||
<!-- poi -->
|
||
<dependency>
|
||
<groupId>com.deepoove</groupId>
|
||
<artifactId>poi-tl</artifactId>
|
||
<exclusions>
|
||
<exclusion>
|
||
<artifactId>commons-io</artifactId>
|
||
<groupId>commons-io</groupId>
|
||
</exclusion>
|
||
</exclusions>
|
||
<version>1.12.0</version>
|
||
</dependency>
|
||
<!-- 获取文档属性 -->
|
||
<dependency>
|
||
<groupId>e-iceblue</groupId>
|
||
<artifactId>spire.doc</artifactId>
|
||
<version>5.4.2</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>e-iceblue</groupId>
|
||
<artifactId>spire.pdf</artifactId>
|
||
<version>5.4.2</version>
|
||
</dependency>
|
||
</dependencies>
|
||
|
||
<build>
|
||
<resources>
|
||
<resource>
|
||
<directory>src/main/java</directory>
|
||
<includes>
|
||
<include>**/*.xml</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
|
||
<resource>
|
||
<directory>src/main/resources</directory>
|
||
<includes>
|
||
<include>**/*.*</include>
|
||
</includes>
|
||
<filtering>false</filtering>
|
||
</resource>
|
||
</resources>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.springframework.boot</groupId>
|
||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
<configuration>
|
||
<!--fork : 如果没有该项配置,devtools不会起作用,即应用不会restart -->
|
||
<fork>true</fork>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<configuration>
|
||
<source>${jdk.version}</source>
|
||
<target>${jdk.version}</target>
|
||
<encoding>UTF-8</encoding>
|
||
<compilerArguments>
|
||
<verbose />
|
||
<bootclasspath>${JAVA_HOME}/jre/lib/rt.jar${path.separator}${JAVA_HOME}/jre/lib/jce.jar</bootclasspath>
|
||
</compilerArguments>
|
||
</configuration>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
</project>
|