<?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>
|
<parent>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-parent</artifactId>
|
<version>1.0.0</version>
|
<relativePath>../pom.xml</relativePath>
|
</parent>
|
|
<artifactId>guns-admin</artifactId>
|
<name>guns-admin</name>
|
<description>guns 的spring boot版本</description>
|
|
<packaging>jar</packaging>
|
|
<dependencies>
|
<dependency>
|
<groupId>com.github.pagehelper</groupId>
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
<version>1.4.6</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi</artifactId>
|
<version>5.0.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.poi</groupId>
|
<artifactId>poi-ooxml</artifactId>
|
<version>5.0.0</version>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-redis</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-generator</artifactId>
|
</dependency>
|
|
<!--spring boot依赖-->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-aop</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-cache</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-validation</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
<scope>test</scope>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-devtools</artifactId>
|
<optional>true</optional>
|
</dependency>
|
|
<!--shiro依赖-->
|
<dependency>
|
<groupId>org.apache.shiro</groupId>
|
<artifactId>shiro-core</artifactId>
|
<exclusions>
|
<exclusion>
|
<artifactId>slf4j-api</artifactId>
|
<groupId>org.slf4j</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.shiro</groupId>
|
<artifactId>shiro-spring</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.shiro</groupId>
|
<artifactId>shiro-ehcache</artifactId>
|
<exclusions>
|
<exclusion>
|
<artifactId>slf4j-api</artifactId>
|
<groupId>org.slf4j</groupId>
|
</exclusion>
|
</exclusions>
|
</dependency>
|
<dependency>
|
<groupId>org.ehcache</groupId>
|
<artifactId>ehcache</artifactId>
|
</dependency>
|
|
<!--需要分布式session的话需要放开注释-->
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.session</groupId>-->
|
<!--<artifactId>spring-session-data-redis</artifactId>-->
|
<!--</dependency>-->
|
<!--<dependency>-->
|
<!--<groupId>org.springframework.boot</groupId>-->
|
<!--<artifactId>spring-boot-starter-data-redis</artifactId>-->
|
<!--</dependency>-->
|
|
<dependency>
|
<groupId>com.github.penggle</groupId>
|
<artifactId>kaptcha</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.google.zxing</groupId>
|
<artifactId>core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.ibeetl</groupId>
|
<artifactId>beetl</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger2</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>io.springfox</groupId>
|
<artifactId>springfox-swagger-ui</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>io.jsonwebtoken</groupId>
|
<artifactId>jjwt</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
<scope>provided</scope>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<configuration>
|
<testFailureIgnore>true</testFailureIgnore>
|
</configuration>
|
</plugin>
|
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<fork>true</fork><!-- 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
|
</configuration>
|
</plugin>
|
</plugins>
|
<resources>
|
<resource>
|
<directory>src/main/webapp</directory>
|
</resource>
|
<resource>
|
<directory>src/main/resources</directory>
|
<filtering>true</filtering>
|
</resource>
|
<resource>
|
<directory>src/main/java</directory>
|
<includes>
|
<include>**/*.xml</include>
|
</includes>
|
</resource>
|
</resources>
|
</build>
|
|
</project>
|