2019-08-30 18:56:39 +08:00
|
|
|
|
<?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.7.RELEASE</version>
|
|
|
|
|
|
<relativePath/> <!-- lookup parent from repository -->
|
|
|
|
|
|
</parent>
|
|
|
|
|
|
<groupId>com.taoyuanx</groupId>
|
|
|
|
|
|
<artifactId>security-demo</artifactId>
|
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
|
<name>security-demo</name>
|
|
|
|
|
|
<description>java security demo</description>
|
|
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
|
|
|
<java.version>1.8</java.version>
|
|
|
|
|
|
<skipTests>true</skipTests>
|
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter</artifactId>
|
|
|
|
|
|
</dependency>
|
2019-09-05 18:44:17 +08:00
|
|
|
|
<!-- <dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
|
<!– <optional>true</optional>–>
|
|
|
|
|
|
</dependency>-->
|
2019-08-30 18:56:39 +08:00
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.google.guava</groupId>
|
|
|
|
|
|
<artifactId>guava</artifactId>
|
|
|
|
|
|
<version>20.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>mysql</groupId>
|
|
|
|
|
|
<artifactId>mysql-connector-java</artifactId>
|
|
|
|
|
|
<scope>runtime</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>fastjson</artifactId>
|
|
|
|
|
|
<version>1.2.59</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>commons-codec</groupId>
|
|
|
|
|
|
<artifactId>commons-codec</artifactId>
|
|
|
|
|
|
<version>1.10</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.projectlombok</groupId>
|
|
|
|
|
|
<artifactId>lombok</artifactId>
|
|
|
|
|
|
<version>1.18.8</version>
|
|
|
|
|
|
<scope>provided</scope>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
|
<artifactId>druid</artifactId>
|
|
|
|
|
|
<version>1.1.0</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>cn.hutool</groupId>
|
|
|
|
|
|
<artifactId>hutool-core</artifactId>
|
|
|
|
|
|
<version>4.0.3</version>
|
|
|
|
|
|
</dependency>
|
2019-09-05 18:44:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
|
|
|
</dependency>
|
2019-08-30 18:56:39 +08:00
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
|
<plugins>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
<dependency>
|
|
|
|
|
|
<!-- 加入该配置,使用maven package,依赖jar不会打包在项目最终jar文件内
|
|
|
|
|
|
启动jar 加入参数 -Dthin.root=. -jar
|
|
|
|
|
|
-->
|
|
|
|
|
|
<groupId>org.springframework.boot.experimental</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-thin-layout</artifactId>
|
|
|
|
|
|
<version>1.0.12.RELEASE</version>
|
|
|
|
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
<plugin>
|
|
|
|
|
|
<!-- 加入该配置,maven package执行时会在target目录整理好依赖包 -->
|
|
|
|
|
|
<groupId>org.springframework.boot.experimental</groupId>
|
|
|
|
|
|
<artifactId>spring-boot-thin-maven-plugin</artifactId>
|
|
|
|
|
|
<version>1.0.12.RELEASE</version>
|
|
|
|
|
|
<executions>
|
|
|
|
|
|
<execution>
|
|
|
|
|
|
<id>resolve</id>
|
|
|
|
|
|
<goals>
|
|
|
|
|
|
<goal>resolve</goal>
|
|
|
|
|
|
</goals>
|
|
|
|
|
|
<inherited>false</inherited>
|
|
|
|
|
|
</execution>
|
|
|
|
|
|
</executions>
|
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
|
|
</plugins>
|
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|
|
</project>
|