You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
2.2 KiB
XML
59 lines
2.2 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>
|
|
|
|
<artifactId>gateway-admin</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>gateway-admin</name>
|
|
<description>Demo Gateway Admin project for Spring Cloud</description>
|
|
|
|
<parent>
|
|
<artifactId>webapp-parent</artifactId>
|
|
<groupId>com.springboot.cloud</groupId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<relativePath>../../webapps/webapp-parent/pom.xml</relativePath>
|
|
</parent>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.alicp.jetcache</groupId>
|
|
<artifactId>jetcache-starter-redis</artifactId>
|
|
<version>2.5.14</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springframework.cloud</groupId>
|
|
<artifactId>spring-cloud-gateway-core</artifactId>
|
|
<version>2.1.0.RELEASE</version>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!--docker镜像build插件-->
|
|
<plugin>
|
|
<groupId>com.spotify</groupId>
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
<version>1.2.0</version>
|
|
<configuration>
|
|
<!-- 注意imageName一定要是符合正则[a-z0-9-_.]的,否则构建不会成功 -->
|
|
<imageName>cike/${project.artifactId}</imageName>
|
|
<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
|
|
<rm>true</rm>
|
|
<resources>
|
|
<resource>
|
|
<targetPath>/</targetPath>
|
|
<directory>${project.build.directory}</directory>
|
|
<include>${project.build.finalName}.jar</include>
|
|
</resource>
|
|
</resources>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|