RuoYi-Cloud/ruoyi-gateway/pom.xml

154 lines
5.5 KiB
XML
Raw Normal View History

2020-05-24 20:40:55 +08:00
<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">
<parent>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi</artifactId>
2022-09-30 11:48:39 +08:00
<version>3.6.1</version>
2020-05-24 20:40:55 +08:00
</parent>
<modelVersion>4.0.0</modelVersion>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<artifactId>ruoyi-gateway</artifactId>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<description>
ruoyi-gateway网关模块
</description>
2020-06-10 11:31:13 +08:00
2022-07-29 10:54:32 +08:00
<properties>
<docker.build.skip>false</docker.build.skip>
</properties>
2020-05-24 20:40:55 +08:00
<dependencies>
2020-06-10 11:31:13 +08:00
<!-- SpringCloud Gateway -->
2020-05-24 20:40:55 +08:00
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-gateway</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2021-04-21 16:31:21 +08:00
<!-- SpringCloud Alibaba Nacos -->
2020-05-24 20:40:55 +08:00
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2021-04-21 16:31:21 +08:00
<!-- SpringCloud Alibaba Nacos Config -->
2020-05-24 20:40:55 +08:00
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2021-04-21 16:31:21 +08:00
<!-- SpringCloud Alibaba Sentinel -->
2020-06-10 11:31:13 +08:00
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
2021-04-21 16:31:21 +08:00
<!-- SpringCloud Alibaba Sentinel Gateway -->
2020-06-10 11:31:13 +08:00
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-sentinel-gateway</artifactId>
</dependency>
<!-- Sentinel Datasource Nacos -->
<dependency>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-datasource-nacos</artifactId>
</dependency>
2020-05-24 20:40:55 +08:00
<!-- SpringBoot Actuator -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
2022-04-11 09:02:50 +08:00
<!-- SpringCloud Loadbalancer -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-loadbalancer</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<!--验证码 -->
<dependency>
<groupId>com.github.penggle</groupId>
<artifactId>kaptcha</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<!-- RuoYi Common Redis-->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>ruoyi-common-redis</artifactId>
</dependency>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<!-- Swagger -->
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger-ui</artifactId>
<version>${swagger.fox.version}</version>
</dependency>
<dependency>
<groupId>io.springfox</groupId>
<artifactId>springfox-swagger2</artifactId>
<version>${swagger.fox.version}</version>
</dependency>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
</dependencies>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
<build>
2021-01-17 12:06:33 +08:00
<finalName>${project.artifactId}</finalName>
2020-05-24 20:40:55 +08:00
<plugins>
2022-07-29 10:54:32 +08:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-docker-resources</id>
<phase>generate-resources</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>target</outputDirectory>
<resources>
<resource>
<directory>../</directory>
<includes>
<include>Dockerfile</include>
<include>Deployment.yml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
2020-05-24 20:40:55 +08:00
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
2022-07-29 10:54:32 +08:00
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<configuration>
<dockerfile>${project.basedir}/target/Dockerfile</dockerfile>
<tag>${project.version}</tag>
<repository>${docker.repository}/${project.artifactId}</repository>
<contextDirectory>${project.basedir}/target</contextDirectory>
<buildArgs>
<JAR_FILE>${project.build.finalName}.jar</JAR_FILE>
</buildArgs>
</configuration>
</plugin>
2020-05-24 20:40:55 +08:00
</plugins>
</build>
2020-06-10 11:31:13 +08:00
2020-05-24 20:40:55 +08:00
</project>