274 lines
9.6 KiB
XML
274 lines
9.6 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>com.xncoding</groupId>
|
||
|
<artifactId>app-manage-api</artifactId>
|
||
|
<version>1.0.0-SNAPSHOT</version>
|
||
|
<packaging>jar</packaging>
|
||
|
|
||
|
<name>app-manage-api</name>
|
||
|
<description>JWT实现RESTful API接口认证和Socket.IO认证</description>
|
||
|
|
||
|
<parent>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||
|
<version>1.5.9.RELEASE</version>
|
||
|
<relativePath/>
|
||
|
</parent>
|
||
|
|
||
|
<properties>
|
||
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
|
<java.version>1.8</java.version>
|
||
|
<netty.version>4.1.19.Final</netty.version>
|
||
|
<druid.version>1.1.2</druid.version>
|
||
|
<mysql-connector.version>8.0.7-dmr</mysql-connector.version>
|
||
|
<mybatis-plus.version>2.1.8</mybatis-plus.version>
|
||
|
<mybatisplus-spring-boot-starter.version>1.0.5</mybatisplus-spring-boot-starter.version>
|
||
|
</properties>
|
||
|
|
||
|
<dependencies>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-tomcat</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-jetty</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-jdbc</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-aop</artifactId>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>com.auth0</groupId>
|
||
|
<artifactId>java-jwt</artifactId>
|
||
|
<version>3.3.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>mysql</groupId>
|
||
|
<artifactId>mysql-connector-java</artifactId>
|
||
|
<version>${mysql-connector.version}</version>
|
||
|
<scope>runtime</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.alibaba</groupId>
|
||
|
<artifactId>druid</artifactId>
|
||
|
<version>${druid.version}</version>
|
||
|
</dependency>
|
||
|
<!-- MyBatis plus增强和springboot的集成-->
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatis-plus</artifactId>
|
||
|
<version>${mybatis-plus.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.baomidou</groupId>
|
||
|
<artifactId>mybatisplus-spring-boot-starter</artifactId>
|
||
|
<version>${mybatisplus-spring-boot-starter.version}</version>
|
||
|
</dependency>
|
||
|
|
||
|
<dependency>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||
|
<scope>test</scope>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<groupId>com.vaadin.external.google</groupId>
|
||
|
<artifactId>android-json</artifactId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>commons-io</groupId>
|
||
|
<artifactId>commons-io</artifactId>
|
||
|
<version>2.5</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.apache.commons</groupId>
|
||
|
<artifactId>commons-lang3</artifactId>
|
||
|
<version>3.7</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>commons-codec</groupId>
|
||
|
<artifactId>commons-codec</artifactId>
|
||
|
<version>1.11</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>commons-net</groupId>
|
||
|
<artifactId>commons-net</artifactId>
|
||
|
<version>3.6</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- shiro 权限控制 -->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.shiro</groupId>
|
||
|
<artifactId>shiro-spring</artifactId>
|
||
|
<version>1.4.0</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
<!-- shiro ehcache (shiro缓存)-->
|
||
|
<dependency>
|
||
|
<groupId>org.apache.shiro</groupId>
|
||
|
<artifactId>shiro-ehcache</artifactId>
|
||
|
<version>1.4.0</version>
|
||
|
<exclusions>
|
||
|
<exclusion>
|
||
|
<artifactId>slf4j-api</artifactId>
|
||
|
<groupId>org.slf4j</groupId>
|
||
|
</exclusion>
|
||
|
</exclusions>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- netty-socketio-->
|
||
|
<dependency>
|
||
|
<groupId>com.corundumstudio.socketio</groupId>
|
||
|
<artifactId>netty-socketio</artifactId>
|
||
|
<version>1.7.13</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-buffer</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-codec</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-codec-http</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-common</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-handler</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-resolver</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-transport</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-transport-native-epoll</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.netty</groupId>
|
||
|
<artifactId>netty-transport-native-unix-common</artifactId>
|
||
|
<version>${netty.version}</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.socket</groupId>
|
||
|
<artifactId>socket.io-client</artifactId>
|
||
|
<version>1.0.0</version>
|
||
|
</dependency>
|
||
|
|
||
|
<!-- swagger2 集成-->
|
||
|
<dependency>
|
||
|
<groupId>io.springfox</groupId>
|
||
|
<artifactId>springfox-swagger2</artifactId>
|
||
|
<version>2.7.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>com.xncoding</groupId>
|
||
|
<artifactId>springfox-swagger-ui</artifactId>
|
||
|
<version>2.7.0</version>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>org.pegdown</groupId>
|
||
|
<artifactId>pegdown</artifactId>
|
||
|
<version>1.6.0</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
<dependency>
|
||
|
<groupId>io.github.swagger2markup</groupId>
|
||
|
<artifactId>swagger2markup</artifactId>
|
||
|
<version>1.3.1</version>
|
||
|
<scope>test</scope>
|
||
|
</dependency>
|
||
|
|
||
|
</dependencies>
|
||
|
|
||
|
<build>
|
||
|
<plugins>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-compiler-plugin</artifactId>
|
||
|
<version>3.6.1</version>
|
||
|
<configuration>
|
||
|
<!--<proc>none</proc>-->
|
||
|
<source>1.8</source>
|
||
|
<target>1.8</target>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.apache.maven.plugins</groupId>
|
||
|
<artifactId>maven-surefire-plugin</artifactId>
|
||
|
<version>2.20</version>
|
||
|
<configuration>
|
||
|
<systemPropertyVariables>
|
||
|
<swaggerOutputDir>${project.basedir}/src/main/resources/swagger</swaggerOutputDir>
|
||
|
<asciiDocOutputDir>${project.basedir}/src/main/resources/swagger/swagger</asciiDocOutputDir>
|
||
|
</systemPropertyVariables>
|
||
|
<skip>true</skip>
|
||
|
</configuration>
|
||
|
</plugin>
|
||
|
<plugin>
|
||
|
<groupId>org.springframework.boot</groupId>
|
||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||
|
<executions>
|
||
|
</executions>
|
||
|
</plugin>
|
||
|
</plugins>
|
||
|
|
||
|
<resources>
|
||
|
<resource>
|
||
|
<directory>src/main/resources</directory>
|
||
|
</resource>
|
||
|
<resource>
|
||
|
<directory>src/main/java</directory>
|
||
|
<includes>
|
||
|
<include>**/*.xml</include>
|
||
|
</includes>
|
||
|
</resource>
|
||
|
</resources>
|
||
|
</build>
|
||
|
|
||
|
</project>
|