|
|
|
|
<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.sptcc.agile</groupId>
|
|
|
|
|
<artifactId>agile-portal</artifactId>
|
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
|
|
</parent>
|
|
|
|
|
<artifactId>agile-portal-gateway</artifactId>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.jiuyv.sptcc.portal</groupId>
|
|
|
|
|
<artifactId>agile-portal-api</artifactId>
|
|
|
|
|
<version>${agile-portal-api.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.jiuyv.sptcc.agile</groupId>
|
|
|
|
|
<artifactId>agile-mobile-message-api</artifactId>
|
|
|
|
|
<version>${agile-mobile-message-api.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- Bucket4j 限流 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.vladimir-bukhtoyarov</groupId>
|
|
|
|
|
<artifactId>bucket4j-core</artifactId>
|
|
|
|
|
<version>7.6.0</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- io常用工具类 -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>commons-io</groupId>
|
|
|
|
|
<artifactId>commons-io</artifactId>
|
|
|
|
|
<version>${commons.io.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<!-- json logstash encoder -->
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>net.logstash.logback</groupId>
|
|
|
|
|
<artifactId>logstash-logback-encoder</artifactId>
|
|
|
|
|
<version>6.4</version>
|
|
|
|
|
</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.apache.commons</groupId>
|
|
|
|
|
<artifactId>commons-lang3</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-cache</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.github.ben-manes.caffeine</groupId>
|
|
|
|
|
<artifactId>caffeine</artifactId>
|
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.anji-plus</groupId>
|
|
|
|
|
<artifactId>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>
|
|
|
|
|
<executions>
|
|
|
|
|
<execution>
|
|
|
|
|
<goals>
|
|
|
|
|
<goal>repackage</goal>
|
|
|
|
|
</goals>
|
|
|
|
|
</execution>
|
|
|
|
|
</executions>
|
|
|
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.github.shalousun</groupId>
|
|
|
|
|
<artifactId>smart-doc-maven-plugin</artifactId>
|
|
|
|
|
<version>2.6.9</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<!--指定生成文档的使用的配置文件,配置文件放在自己的项目中,如果不指定,默认文件名default.json-->
|
|
|
|
|
<configFile>./src/main/resources/smart-doc.json</configFile>
|
|
|
|
|
<includes>
|
|
|
|
|
<include>com.jiuyv.sptcc.portal:agile-portal-gateway</include>
|
|
|
|
|
</includes>
|
|
|
|
|
</configuration>
|
|
|
|
|
</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>
|