|
10 | 10 | <description>Demo project for Spring Boot</description> |
11 | 11 |
|
12 | 12 | <properties> |
13 | | - <java.version>1.8</java.version> |
14 | | - <spring-cloud.version>Greenwich.SR1</spring-cloud.version> |
| 13 | + <java.version>11</java.version> |
| 14 | + <spring-cloud.version>Hoxton.SR1</spring-cloud.version> |
15 | 15 | </properties> |
16 | 16 |
|
17 | 17 | <parent> |
18 | 18 | <groupId>org.springframework.boot</groupId> |
19 | 19 | <artifactId>spring-boot-starter-parent</artifactId> |
20 | | - <version>2.1.5.RELEASE</version> |
| 20 | + <version>2.2.5.RELEASE</version> |
21 | 21 | <relativePath/> <!-- lookup parent from repository --> |
22 | 22 | </parent> |
23 | 23 |
|
24 | 24 | <dependencies> |
25 | 25 | <dependency> |
26 | 26 | <groupId>org.springframework.boot</groupId> |
27 | | - <artifactId>spring-boot-starter-web</artifactId> |
| 27 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>org.springframework.cloud</groupId> |
| 31 | + <artifactId>spring-cloud-starter-config</artifactId> |
28 | 32 | </dependency> |
29 | 33 | <dependency> |
30 | 34 | <groupId>org.springframework.cloud</groupId> |
31 | 35 | <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> |
| 36 | + <exclusions> |
| 37 | + <exclusion> |
| 38 | + <groupId>org.springframework.cloud</groupId> |
| 39 | + <artifactId>spring-cloud-starter-ribbon</artifactId> |
| 40 | + </exclusion> |
| 41 | + <exclusion> |
| 42 | + <groupId>com.netflix.ribbon</groupId> |
| 43 | + <artifactId>ribbon-eureka</artifactId> |
| 44 | + </exclusion> |
| 45 | + </exclusions> |
32 | 46 | </dependency> |
33 | | - |
34 | 47 | <dependency> |
35 | | - <groupId>org.springframework.boot</groupId> |
36 | | - <artifactId>spring-boot-devtools</artifactId> |
37 | | - <scope>runtime</scope> |
| 48 | + <groupId>org.springframework.cloud</groupId> |
| 49 | + <artifactId>spring-cloud-starter-loadbalancer</artifactId> |
38 | 50 | </dependency> |
39 | 51 | <dependency> |
40 | 52 | <groupId>org.springframework.boot</groupId> |
41 | 53 | <artifactId>spring-boot-starter-test</artifactId> |
42 | 54 | <scope>test</scope> |
| 55 | + <exclusions> |
| 56 | + <exclusion> |
| 57 | + <groupId>org.junit.vintage</groupId> |
| 58 | + <artifactId>junit-vintage-engine</artifactId> |
| 59 | + </exclusion> |
| 60 | + </exclusions> |
43 | 61 | </dependency> |
44 | 62 | </dependencies> |
45 | 63 |
|
|
0 commit comments