|
|
<?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.2.6.RELEASE</version>
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
</parent>
|
|
|
<groupId>com.huangjun</groupId>
|
|
|
<artifactId>keshihua</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
<packaging>jar</packaging>
|
|
|
<name>keshihua</name>
|
|
|
<description>Demo project for Spring Boot</description>
|
|
|
|
|
|
<properties>
|
|
|
<java.version>1.8</java.version>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<!-- log4j日志文件管理包版本 -->
|
|
|
<slf4j.version>1.7.7</slf4j.version>
|
|
|
<log4j.version>1.2.17</log4j.version>
|
|
|
</properties>
|
|
|
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
<exclusions>
|
|
|
<exclusion>
|
|
|
<groupId>ch.qos.logback</groupId>
|
|
|
<artifactId>logback-classic</artifactId>
|
|
|
</exclusion>
|
|
|
</exclusions>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
<scope>test</scope>
|
|
|
</dependency>
|
|
|
<!--使用外部tomcat-->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
|
|
<scope>provided</scope>
|
|
|
</dependency>
|
|
|
|
|
|
<!--使用redis -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
</dependency>
|
|
|
<!-- redis依赖commons-pool 这个依赖一定要添加 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
</dependency>
|
|
|
<!--mysql 驱动-->
|
|
|
<!--<dependency>-->
|
|
|
<!--<groupId>mysql</groupId>-->
|
|
|
<!--<artifactId>mysql-connector-java</artifactId>-->
|
|
|
<!--<version>5.1.36</version>-->
|
|
|
<!--</dependency>-->
|
|
|
<dependency>
|
|
|
<groupId>mysql</groupId>
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
<version>8.0.11</version>
|
|
|
</dependency>
|
|
|
<!--oracle 驱动-->
|
|
|
<dependency>
|
|
|
<groupId>com.oracle.ojdbc</groupId>
|
|
|
<artifactId>ojdbc8</artifactId>
|
|
|
<scope>runtime</scope>
|
|
|
</dependency>
|
|
|
<!--Sql server驱动-->
|
|
|
<dependency>
|
|
|
<groupId>com.microsoft.sqlserver</groupId>
|
|
|
<artifactId>sqljdbc42</artifactId>
|
|
|
<version>4.2</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--Excel 驱动-->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
<version>3.9</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--达梦数据库 驱动-->
|
|
|
<dependency>
|
|
|
<groupId>com.dameng</groupId>
|
|
|
<artifactId>DmJdbcDriver18</artifactId>
|
|
|
<version>8.1.3.62</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--时间库-->
|
|
|
<dependency>
|
|
|
<groupId>joda-time</groupId>
|
|
|
<artifactId>joda-time</artifactId>
|
|
|
<version>2.10.8</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>druid-spring-boot-starter</artifactId>
|
|
|
<version>1.1.10</version>
|
|
|
</dependency>
|
|
|
<!-- spring boot devtools 依赖包. -->
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
<optional>true</optional>
|
|
|
<scope>true</scope>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-boot-starter</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</dependency>
|
|
|
<!-- mybatis plus 代码生成器依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>com.baomidou</groupId>
|
|
|
<artifactId>mybatis-plus-generator</artifactId>
|
|
|
<version>3.1.0</version>
|
|
|
</dependency>
|
|
|
<!-- 代码生成器模板 -->
|
|
|
<dependency>
|
|
|
<groupId>org.freemarker</groupId>
|
|
|
<artifactId>freemarker</artifactId>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 日志文件管理包 -->
|
|
|
<!-- log start -->
|
|
|
<dependency>
|
|
|
<groupId>log4j</groupId>
|
|
|
<artifactId>log4j</artifactId>
|
|
|
<version>${log4j.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 格式化对象,方便输出日志 -->
|
|
|
<dependency>
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
<version>1.1.41</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-api</artifactId>
|
|
|
<version>${slf4j.version}</version>
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
<groupId>org.slf4j</groupId>
|
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
|
<version>${slf4j.version}</version>
|
|
|
</dependency>
|
|
|
<!-- log end -->
|
|
|
<dependency>
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
<artifactId>lombok</artifactId>
|
|
|
<version>1.16.10</version>
|
|
|
</dependency>
|
|
|
<!--使用StringUtils-->
|
|
|
<dependency>
|
|
|
<groupId>commons-lang</groupId>
|
|
|
<artifactId>commons-lang</artifactId>
|
|
|
<version>2.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 使用httpclient需要的maven依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpcore</artifactId>
|
|
|
<version>4.4.10</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- 使用httpclient需要的maven依赖 -->
|
|
|
<dependency>
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
<version>4.5.6</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!-- dom4j -->
|
|
|
<dependency>
|
|
|
<groupId>org.dom4j</groupId>
|
|
|
<artifactId>dom4j</artifactId>
|
|
|
<version>2.0.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--引入swagger -->
|
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger2</artifactId>
|
|
|
<version>2.8.0</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>io.springfox</groupId>
|
|
|
<artifactId>springfox-swagger-ui</artifactId>
|
|
|
<version>2.8.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--JWT-->
|
|
|
<dependency>
|
|
|
<groupId>com.auth0</groupId>
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
<version>3.4.0</version>
|
|
|
</dependency>
|
|
|
|
|
|
<!--阿里云 oss-->
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun.oss</groupId>
|
|
|
<artifactId>aliyun-sdk-oss</artifactId>
|
|
|
<version>3.10.2</version>
|
|
|
</dependency>
|
|
|
<!--阿里云 短信服务-->
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>tea-openapi</artifactId>
|
|
|
<version>0.0.19</version>
|
|
|
</dependency>
|
|
|
<dependency>
|
|
|
<groupId>com.aliyun</groupId>
|
|
|
<artifactId>dysmsapi20170525</artifactId>
|
|
|
<version>2.0.5</version>
|
|
|
</dependency>
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
<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>
|
|
|
<version>3.8.1</version>
|
|
|
<configuration>
|
|
|
<source>${java.version}</source>
|
|
|
<target>${java.version}</target>
|
|
|
<encoding>${project.build.sourceEncoding}</encoding>
|
|
|
<compilerArguments>
|
|
|
<verbose />
|
|
|
<bootclasspath>${java.home}/lib/rt.jar;${java.home}/lib/jce.jar</bootclasspath>
|
|
|
</compilerArguments>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|
|
|
|
|
|
</project>
|