pom.xml 1.6 KB
Newer Older
J
jmdhappy 已提交
1 2 3 4 5 6 7 8 9 10
<?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>

	<groupId>org.xxpay</groupId>
	<artifactId>xxpay-gateway</artifactId>
	<version>1.0.0</version>
	<packaging>jar</packaging>
	<name>xxpay-gateway</name>
J
jmdhappy 已提交
11
	<description>xxpay-gateway</description>
J
jmdhappy 已提交
12 13

	<parent>
J
jmdhappy 已提交
14 15 16
		<groupId>org.xxpay</groupId>
		<artifactId>xxpay4spring-cloud</artifactId>
		<version>1.0.0</version>
J
jmdhappy 已提交
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
	</parent>

	<dependencies>
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-zuul</artifactId>
		</dependency>
	</dependencies>

	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
				<configuration>
J
jmdhappy 已提交
32
					<finalName>${project.name}</finalName>
J
jmdhappy 已提交
33
				</configuration>
J
jmdhappy 已提交
34
			</plugin>
M
maxiucheng 已提交
35 36 37 38
			<plugin>
				<groupId>com.spotify</groupId>
				<artifactId>docker-maven-plugin</artifactId>
				<configuration>
M
maxiucheng 已提交
39
					<dockerHost>${docker.url}</dockerHost>
M
maxiucheng 已提交
40 41 42 43 44 45 46 47 48 49 50 51
					<imageName>${project.name}:${project.version}</imageName>
					<dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
					<skipDockerBuild>false</skipDockerBuild>
					<resources>
						<resource>
							<targetPath>/</targetPath>
							<directory>${project.build.directory}</directory>
							<include>${project.artifactId}.jar</include>
						</resource>
					</resources>
				</configuration>
			</plugin>
J
jmdhappy 已提交
52 53 54 55
		</plugins>
	</build>

</project>