<?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.3.3.RELEASE</version>
|
<relativePath/> <!-- lookup parent from repository -->
|
</parent>
|
<groupId>com.gk.zhongtai</groupId>
|
<artifactId>hazardInvestgation</artifactId>
|
<version>2.0.5</version>
|
<packaging>jar</packaging>
|
|
<properties>
|
<project.build.sourceencoding>UTF-8</project.build.sourceencoding>
|
<project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
|
<java.version>1.8</java.version>
|
</properties>
|
|
<dependencies>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-jdbc</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
<exclusions>
|
<!-- <exclusion>-->
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
<!-- <artifactId>spring-boot-starter-logging</artifactId>-->
|
<!-- </exclusion>-->
|
<exclusion>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
</exclusion>
|
<exclusion>
|
<artifactId>logback-classic</artifactId>
|
<groupId>ch.qos.logback</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!-- <scope>provided</scope>-->
|
</dependency>
|
<dependency>
|
<groupId>com.google.zxing</groupId>
|
<artifactId>core</artifactId>
|
<version>3.4.1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.mybatis.spring.boot</groupId>
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
<version>2.1.3</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-log4j -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-log4j</artifactId>
|
<version>1.3.8.RELEASE</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus-boot-starter -->
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
<version>3.3.2</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/com.alibaba/druid-spring-boot-starter -->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
<version>1.1.22</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-devtools</artifactId>
|
<scope>runtime</scope>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>mysql</groupId>
|
<artifactId>mysql-connector-java</artifactId>
|
<scope>runtime</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
<optional>true</optional>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
<exclusions>
|
<exclusion>
|
<groupId>org.junit.vintage</groupId>
|
<artifactId>junit-vintage-engine</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
<version>2.7</version>
|
</dependency>
|
|
<!-- https://mvnrepository.com/artifact/commons-codec/commons-codec -->
|
<dependency>
|
<groupId>commons-codec</groupId>
|
<artifactId>commons-codec</artifactId>
|
<version>1.14</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-lang3</artifactId>
|
<version>3.11</version>
|
</dependency>
|
|
|
<!-- https://mvnrepository.com/artifact/org.apache.poi/poi -->
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>5.2.2</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>5.2.2</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-scratchpad</artifactId>
|
<version>5.2.2</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml-schemas</artifactId>
|
<version>4.1.2</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
|
<dependency>
|
<groupId>org.springframework</groupId>
|
<artifactId>spring-beans</artifactId>
|
<version>5.2.8.RELEASE</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.java-websocket/Java-WebSocket -->
|
<dependency>
|
<groupId>org.java-websocket</groupId>
|
<artifactId>Java-WebSocket</artifactId>
|
<version>1.5.1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-websocket</artifactId>
|
<version>2.1.0.RELEASE</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.documents4j</groupId>
|
<artifactId>documents4j-local</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.documents4j</groupId>
|
<artifactId>documents4j-transformer-msoffice-word</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
|
<!-- 整合swagger2-->
|
<!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger2 -->
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
<version>2.8.0</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui -->
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
<version>2.8.0</version>
|
</dependency>
|
|
<!-- 整合redis auth2-->
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-security -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
<version>2.3.3.RELEASE</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-data-redis -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
<version>2.3.3.RELEASE</version>
|
<exclusions>
|
<exclusion>
|
<groupId>io.lettuce</groupId>
|
<artifactId>lettuce-core</artifactId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/redis.clients/jedis -->
|
<dependency>
|
<groupId>redis.clients</groupId>
|
<artifactId>jedis</artifactId>
|
<version>3.3.0</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework.security.oauth/spring-security-oauth2 -->
|
<dependency>
|
<groupId>org.springframework.security.oauth</groupId>
|
<artifactId>spring-security-oauth2</artifactId>
|
<version>2.3.3.RELEASE</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.springframework.security/spring-security-core -->
|
<dependency>
|
<groupId>org.springframework.security</groupId>
|
<artifactId>spring-security-core</artifactId>
|
<version>5.3.4.RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
<version>5.0.6</version>
|
</dependency>
|
<!--json tools-->
|
<dependency>
|
<groupId>com.alibaba</groupId>
|
<artifactId>fastjson</artifactId>
|
<version>1.2.41</version>
|
</dependency>
|
<!--jwt-->
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt</artifactId>
|
<version>0.9.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.security</groupId>
|
<artifactId>spring-security-jwt</artifactId>
|
<version>1.0.9.RELEASE</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/com.liferay/org.apache.commons.fileupload -->
|
<dependency>
|
<groupId>com.liferay</groupId>
|
<artifactId>org.apache.commons.fileupload</artifactId>
|
<version>1.2.2.LIFERAY-PATCHED-1</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
|
<dependency>
|
<groupId>org.jetbrains</groupId>
|
<artifactId>annotations</artifactId>
|
<version>20.1.0</version>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<version>1.18.12</version>
|
<scope>provided</scope>
|
</dependency>
|
|
<!--Java二维码相关依赖-->
|
<dependency>
|
<groupId>com.google.zxing</groupId>
|
<artifactId>core</artifactId>
|
<version>3.3.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.google.zxing</groupId>
|
<artifactId>javase</artifactId>
|
<version>3.3.0</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
<version>4.5</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.baomidou</groupId>
|
<artifactId>mybatis-plus-extension</artifactId>
|
<version>3.4.1</version>
|
</dependency>
|
<dependency>
|
<groupId>org.aspectj</groupId >
|
<artifactId>aspectjweaver</artifactId >
|
<version>1.8.13</version >
|
</dependency>
|
<dependency>
|
<groupId>e-iceblue</groupId>
|
<artifactId>spire.office.free</artifactId>
|
<version>3.1.1</version>
|
</dependency>
|
<dependency>
|
<groupId>com.documents4j</groupId>
|
<artifactId>documents4j-local</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.documents4j</groupId>
|
<artifactId>documents4j-transformer-msoffice-word</artifactId>
|
<version>1.1.5</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.rocketmq</groupId>
|
<artifactId>rocketmq-client</artifactId>
|
<version>4.9.3</version>
|
<exclusions>
|
<exclusion>
|
<artifactId>logback-classic</artifactId>
|
<groupId>ch.qos.logback</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<!-- https://mvnrepository.com/artifact/org.redisson/redisson-spring-boot-starter -->
|
<dependency>
|
<groupId>org.redisson</groupId>
|
<artifactId>redisson-spring-boot-starter</artifactId>
|
<version>3.16.8</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.rocketmq</groupId>
|
<artifactId>rocketmq-spring-boot</artifactId>
|
<version>2.2.2</version>
|
</dependency>
|
|
</dependencies>
|
<repositories>
|
<repository>
|
<id>com.e-iceblue</id>
|
<url>http://repo.e-iceblue.cn/repository/maven-public/</url>
|
</repository>
|
</repositories>
|
<build>
|
<resources>
|
<resource>
|
<directory>src/main/java</directory>
|
<includes>
|
<include>**/*.xml</include>
|
</includes>
|
</resource>
|
<!--设置自己目录下的配置文件-->
|
<resource>
|
<!--下方resources的文件夹名字要和自己项目的文件夹名确认一致才行 很多人就是忽略了名字不一致 -->
|
<directory>src/main/resources</directory>
|
<includes>
|
<include>**/*</include>
|
</includes>
|
</resource>
|
</resources>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<mainClass>com.gk.hotwork.HotworkApplication</mainClass>
|
<fork>true</fork>
|
</configuration>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|