<?xml version="1.0" encoding="UTF-8"?>
|
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
|
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>management</artifactId>
|
<version>1.0.0</version>
|
<name>guns-admin</name>
|
<description>guns 的spring boot版本</description>
|
<packaging>jar</packaging>
|
|
<dependencies>
|
<dependency>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-generator</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>io.lettuce</groupId>
|
<artifactId>lettuce-core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.apache.commons</groupId>
|
<artifactId>commons-pool2</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>
|
|
<!-- 导入Excel数据依赖 start -->
|
<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>
|
|
<!--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>
|
|
<!--极光推送-->
|
<dependency>
|
<groupId>cn.jpush.api</groupId>
|
<artifactId>jpush-client</artifactId>
|
<version>3.2.17</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.jpush.api</groupId>
|
<artifactId>jiguang-common</artifactId>
|
<version>1.1.1</version>
|
</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.jsonwebtoken</groupId>
|
<artifactId>jjwt</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>commons-io</groupId>
|
<artifactId>commons-io</artifactId>
|
<version>2.6</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.aliyun.oss</groupId>
|
<artifactId>aliyun-sdk-oss</artifactId>
|
<version>2.5.0</version>
|
</dependency>
|
<dependency>
|
<groupId>com.google.code.gson</groupId>
|
<artifactId>gson</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.quartz-scheduler</groupId>
|
<artifactId>quartz</artifactId>
|
<version>2.2.1</version>
|
</dependency>
|
<dependency>
|
<groupId>cn.rongcloud.im</groupId>
|
<artifactId>server-sdk-java</artifactId>
|
<version>3.0.4</version>
|
</dependency>
|
|
|
<dependency>
|
<groupId>org.projectlombok</groupId>
|
<artifactId>lombok</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>org.apache.httpcomponents</groupId>
|
<artifactId>httpclient</artifactId>
|
</dependency>
|
|
<dependency>
|
<groupId>commons-httpclient</groupId>
|
<artifactId>commons-httpclient</artifactId>
|
<version>3.1</version>
|
</dependency>
|
|
<dependency>
|
<groupId>com.alipay.sdk</groupId>
|
<artifactId>alipay-sdk-java</artifactId>
|
<version>4.8.10.ALL</version>
|
</dependency>
|
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-amqp</artifactId>
|
<version>2.3.6.RELEASE</version>
|
</dependency>
|
<dependency>
|
<groupId>com.stylefeng</groupId>
|
<artifactId>guns-core</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>cn.hutool</groupId>
|
<artifactId>hutool-all</artifactId>
|
</dependency>
|
|
<!--中台sdk-->
|
<dependency>
|
<groupId>com.zhongtai</groupId>
|
<artifactId>zhongtai-sdk</artifactId>
|
<version>1.0.0</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/lib/openApiClient-1.0.0.jar</systemPath>
|
</dependency>
|
<!--单点登录sdk-->
|
<dependency>
|
<groupId>com.cas</groupId>
|
<artifactId>cas-client-oncon</artifactId>
|
<version>3.0.5</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/lib/cas-client-oncon-3.0.5.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>com.cas</groupId>
|
<artifactId>cas-client-oncon-core</artifactId>
|
<version>1.2.2</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/lib/cas-client-oncon-core-1.2.2.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>commons-httpclient</groupId>
|
<artifactId>commons-httpclient</artifactId>
|
<version>3.1</version>
|
</dependency>
|
<dependency>
|
<groupId>it.sauronsoftware</groupId>
|
<artifactId>base64</artifactId>
|
<version>1.3.1</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/lib/javabase64-1.3.1.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>com.ncoss</groupId>
|
<artifactId>ncoss-java-sdk</artifactId>
|
<version>1.0.5</version>
|
<scope>system</scope>
|
<systemPath>${pom.basedir}/lib/ncoss-java-sdk-1.0.5.jar</systemPath>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
</dependency>
|
</dependencies>
|
|
|
<build>
|
<plugins>
|
<plugin>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<configuration>
|
<fork>true</fork><!-- 如果没有该项配置,肯呢个devtools不会起作用,即应用不会restart -->
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
<groupId>org.apache.maven.plugins</groupId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</plugin>
|
</plugins>
|
|
<!--打包war包引入本地jar的打包方式-->
|
<!-- <plugins>-->
|
<!-- <plugin>-->
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|
<!-- <artifactId>maven-war-plugin</artifactId>-->
|
<!-- <configuration>-->
|
<!-- <!– 设置成false,否则检查web.xml是否存在。因为springboot是没有web.xml的 –>-->
|
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
|
<!-- <!–打包后的项目名–>-->
|
<!--<!– <warName>example</warName>–>-->
|
<!-- <webResources>-->
|
<!-- <resource>-->
|
<!-- <!–把本地lib里面的jar复制到lib–>-->
|
<!-- <directory>${project.basedir}/lib</directory>-->
|
<!-- <targetPath>WEB-INF/lib/</targetPath>-->
|
<!-- <includes>-->
|
<!-- <include>**/*.jar</include>-->
|
<!-- </includes>-->
|
<!-- </resource>-->
|
<!-- </webResources>-->
|
<!-- </configuration>-->
|
<!-- </plugin>-->
|
<!-- </plugins>-->
|
|
<resources>
|
<resource>
|
<!--把本地lib里面的jar复制到lib-->
|
<directory>${project.basedir}/src/main/resources/lib</directory>
|
<targetPath>/BOOT-INF/lib/</targetPath>
|
<includes>
|
<include>**/*.jar</include>
|
</includes>
|
</resource>
|
<resource>
|
<directory>lib</directory>
|
<targetPath>/BOOT-INF/lib/</targetPath>
|
<includes>
|
<include>**/*.jar</include>
|
</includes>
|
</resource>
|
<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>
|