|
|
|
|
<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>com.jiuyv</groupId>
|
|
|
|
|
<artifactId>agile-portal</artifactId>
|
|
|
|
|
<version>0.0.1</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<artifactId>agile-portal-gateway</artifactId>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.jiuyv.sptcc.portal</groupId>
|
|
|
|
|
<artifactId>agile-portsl-api</artifactId>
|
|
|
|
|
<version>0.0.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.cloud</groupId>
|
|
|
|
|
<artifactId>spring-cloud-starter-openfeign</artifactId>
|
|
|
|
|
<version>${openfeign.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 解析客户端操作系统、浏览器等 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>eu.bitwalker</groupId>
|
|
|
|
|
<artifactId>UserAgentUtils</artifactId>
|
|
|
|
|
<version>${bitwalker.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot集成mybatis框架 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.mybatis.spring.boot</groupId>
|
|
|
|
|
<artifactId>mybatis-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${mybatis-spring-boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- pagehelper 分页插件 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.pagehelper</groupId>
|
|
|
|
|
<artifactId>pagehelper-spring-boot-starter</artifactId>
|
|
|
|
|
<version>${pagehelper.boot.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 获取系统信息 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.oshi</groupId>
|
|
|
|
|
<artifactId>oshi-core</artifactId>
|
|
|
|
|
<version>${oshi.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- io常用工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>${commons.io.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 文件上传工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
|
<version>${commons.fileupload.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- excel工具 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.poi</groupId>
|
|
|
|
|
<artifactId>poi-ooxml</artifactId>
|
|
|
|
|
<version>${poi.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- velocity代码生成使用模板 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.velocity</groupId>
|
|
|
|
|
<artifactId>velocity-engine-core</artifactId>
|
|
|
|
|
<version>${velocity.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- collections工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-collections</groupId>
|
|
|
|
|
<artifactId>commons-collections</artifactId>
|
|
|
|
|
<version>${commons.collections.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Token生成与解析 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.jsonwebtoken</groupId>
|
|
|
|
|
<artifactId>jjwt</artifactId>
|
|
|
|
|
<version>${jwt.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- 验证码 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.penggle</groupId>
|
|
|
|
|
<artifactId>kaptcha</artifactId>
|
|
|
|
|
<version>${kaptcha.version}</version>
|
|
|
|
|
<exclusions>
|
|
|
|
|
<exclusion>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
</exclusion>
|
|
|
|
|
</exclusions>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- spring-boot-devtools -->
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-devtools</artifactId>
|
|
|
|
|
<optional>true</optional> <!-- 表示依赖不会传递 -->
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- json logstash encoder -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
|
<version>6.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Spring框架基本的核心工具 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
|
<artifactId>spring-context-support</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringWeb模块 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-web</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- spring security 安全认证 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-security</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 自定义验证注解 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-validation</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!--常用工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- yml解析器 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.yaml</groupId>
|
|
|
|
|
<artifactId>snakeyaml</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Jaxb -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.xml.bind</groupId>
|
|
|
|
|
<artifactId>jaxb-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- pool 对象池 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-pool2</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- servlet包 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.alibaba</groupId>
|
|
|
|
|
<artifactId>easyexcel</artifactId>
|
|
|
|
|
<version>3.1.1</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- SpringBoot 拦截器 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-aop</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
|
|
<optional>true</optional>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-quartz</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-thymeleaf</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpclient</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.httpcomponents</groupId>
|
|
|
|
|
<artifactId>httpmime</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-cache</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.apache.axis</groupId>
|
|
|
|
|
<artifactId>axis</artifactId>
|
|
|
|
|
<version>1.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.bouncycastle</groupId>
|
|
|
|
|
<artifactId>bcpkix-jdk15on</artifactId>
|
|
|
|
|
<version>1.70</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.anji-plus</groupId>
|
|
|
|
|
<artifactId>spring-boot-starter-captcha</artifactId>
|
|
|
|
|
<version>${ajcaptcha.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
|
|
|
<configuration>
|
|
|
|
|
<skip>true</skip>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
<version>2.1.1.RELEASE</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<fork>true</fork> <!-- 如果没有该配置,devtools不会生效 -->
|
|
|
|
|
</configuration>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<!--前后端合并-->
|
|
|
|
|
<!--clean插件 -->
|
|
|
|
|
<!--<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-clean-plugin</artifactId>
|
|
|
|
|
<version>${maven.clean.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<filesets>
|
|
|
|
|
<fileset>
|
|
|
|
|
<directory>src/main/resources/public</directory>
|
|
|
|
|
</fileset>
|
|
|
|
|
</filesets>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
|
<version>${maven.resource.version}</version>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<id>copy static</id>
|
|
|
|
|
<phase>generate-resources</phase>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
<configuration>
|
|
|
|
|
<outputDirectory>src/main/resources/public</outputDirectory>
|
|
|
|
|
<overwrite>true</overwrite>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<!–因为vue-cli打包的目录在项目的根目录,所以从这里复制 –>
|
|
|
|
|
<directory>${project.parent.basedir}/agile-portal-ui/dist</directory>
|
|
|
|
|
</resource>
|
|
|
|
|
</resources>
|
|
|
|
|
</configuration>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>-->
|
|
|
|
|
</plugins>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
</project>
|