|
|
@@ -14,7 +14,7 @@
|
|
14
|
14
|
<parent>
|
|
15
|
15
|
<groupId>org.springframework.boot</groupId>
|
|
16
|
16
|
<artifactId>spring-boot-starter-parent</artifactId>
|
|
17
|
|
- <version>2.0.3.RELEASE</version>
|
|
|
17
|
+ <version>2.3.12.RELEASE</version>
|
|
18
|
18
|
<relativePath/> <!-- lookup parent from repository -->
|
|
19
|
19
|
</parent>
|
|
20
|
20
|
|
|
|
@@ -22,7 +22,8 @@
|
|
22
|
22
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
23
|
23
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
24
|
24
|
<java.version>1.8</java.version>
|
|
25
|
|
- <spring-cloud.version>Finchley.RELEASE</spring-cloud.version>
|
|
|
25
|
+ <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
|
|
|
26
|
+ <skipTests>true</skipTests>
|
|
26
|
27
|
</properties>
|
|
27
|
28
|
|
|
28
|
29
|
<dependencies>
|
|
|
@@ -30,7 +31,6 @@
|
|
30
|
31
|
<groupId>org.springframework.cloud</groupId>
|
|
31
|
32
|
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
|
|
32
|
33
|
</dependency>
|
|
33
|
|
-
|
|
34
|
34
|
<dependency>
|
|
35
|
35
|
<groupId>org.springframework.boot</groupId>
|
|
36
|
36
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
|
@@ -51,31 +51,12 @@
|
|
51
|
51
|
</dependencyManagement>
|
|
52
|
52
|
|
|
53
|
53
|
<build>
|
|
|
54
|
+ <finalName>eureka-server</finalName>
|
|
54
|
55
|
<plugins>
|
|
55
|
56
|
<plugin>
|
|
56
|
57
|
<groupId>org.springframework.boot</groupId>
|
|
57
|
58
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
58
|
|
- <!--第一次打包时需要注释到 configuration 节点,因为我们要得到全部的jar包-->
|
|
59
|
|
- <!--<configuration>
|
|
60
|
|
- <layout>ZIP</layout>
|
|
61
|
|
- <includes>
|
|
62
|
|
- <include>
|
|
63
|
|
- <groupId>com.unis.module</groupId>
|
|
64
|
|
- <artifactId>eureka</artifactId>
|
|
65
|
|
- </include>
|
|
66
|
|
- </includes>
|
|
67
|
|
- </configuration>-->
|
|
68
|
|
- </plugin>
|
|
69
|
|
- <!--打包时不进行验证测试-->
|
|
70
|
|
- <plugin>
|
|
71
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
72
|
|
- <artifactId>maven-surefire-plugin</artifactId>
|
|
73
|
|
- <version>2.21.0</version>
|
|
74
|
|
- <configuration>
|
|
75
|
|
- <skipTests>true</skipTests>
|
|
76
|
|
- </configuration>
|
|
77
|
59
|
</plugin>
|
|
78
|
60
|
</plugins>
|
|
79
|
|
- <finalName>eureka</finalName>
|
|
80
|
61
|
</build>
|
|
81
|
62
|
</project>
|