|
@@ -1,59 +0,0 @@
|
|
|
-<?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>
|
|
|
-
|
|
|
- <parent>
|
|
|
- <groupId>com.ym</groupId>
|
|
|
- <artifactId>mec</artifactId>
|
|
|
- <version>1.0</version>
|
|
|
- </parent>
|
|
|
- <artifactId>mec-config</artifactId>
|
|
|
- <name>mec-config</name>
|
|
|
- <url>http://maven.apache.org</url>
|
|
|
- <properties>
|
|
|
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
- </properties>
|
|
|
-
|
|
|
- <dependencies>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-config-server</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.cloud</groupId>
|
|
|
- <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
-
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
-
|
|
|
- <plugin>
|
|
|
- <groupId>com.spotify</groupId>
|
|
|
- <artifactId>docker-maven-plugin</artifactId>
|
|
|
- <version>1.0.0</version>
|
|
|
- <configuration>
|
|
|
-
|
|
|
- <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>
|