|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 2 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
3 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | | - <modelVersion>4.0.0</modelVersion> |
5 | | - <parent> |
6 | | - <groupId>org.springframework.boot</groupId> |
7 | | - <artifactId>spring-boot-starter-parent</artifactId> |
8 | | - <version>2.1.7.RELEASE</version> |
9 | | - <relativePath/> <!-- lookup parent from repository --> |
10 | | - </parent> |
11 | | - <groupId>com.example</groupId> |
12 | | - <artifactId>api-gateway</artifactId> |
13 | | - <version>0.0.1-SNAPSHOT</version> |
14 | | - <name>api-gateway</name> |
15 | | - <description>Demo project for Spring Boot</description> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>org.springframework.boot</groupId> |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 8 | + <version>2.3.10.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + <groupId>com.example</groupId> |
| 12 | + <artifactId>api-gateway</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <name>api-gateway</name> |
| 15 | + <description>Demo project for Spring Boot</description> |
16 | 16 |
|
17 | | - <properties> |
18 | | - <java.version>11</java.version> |
19 | | - <spring-cloud.version>Greenwich.SR2</spring-cloud.version> |
20 | | - </properties> |
| 17 | + <properties> |
| 18 | + <java.version>11</java.version> |
| 19 | + <spring-cloud.version>Hoxton.SR10</spring-cloud.version> |
| 20 | + </properties> |
21 | 21 |
|
22 | | - <dependencies> |
23 | | - <dependency> |
24 | | - <groupId>org.springframework.boot</groupId> |
25 | | - <artifactId>spring-boot-starter-actuator</artifactId> |
26 | | - </dependency> |
27 | | - <dependency> |
28 | | - <groupId>org.springframework.boot</groupId> |
29 | | - <artifactId>spring-boot-starter-webflux</artifactId> |
30 | | - </dependency> |
31 | | - <dependency> |
32 | | - <groupId>org.springframework.cloud</groupId> |
33 | | - <artifactId>spring-cloud-starter-gateway</artifactId> |
34 | | - </dependency> |
35 | | - <dependency> |
36 | | - <groupId>org.springframework.cloud</groupId> |
37 | | - <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
38 | | - </dependency> |
39 | | - <dependency> |
40 | | - <groupId>org.springframework.cloud</groupId> |
41 | | - <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
42 | | - </dependency> |
43 | | - <dependency> |
44 | | - <groupId>org.springframework.cloud</groupId> |
45 | | - <artifactId>spring-cloud-starter-openfeign</artifactId> |
46 | | - </dependency> |
47 | | - <dependency> |
48 | | - <groupId>com.okta.spring</groupId> |
49 | | - <artifactId>okta-spring-boot-starter</artifactId> |
50 | | - <version>1.2.1</version> |
51 | | - </dependency> |
52 | | - <dependency> |
53 | | - <groupId>org.springframework.cloud</groupId> |
54 | | - <artifactId>spring-cloud-security</artifactId> |
55 | | - </dependency> |
56 | | - <dependency> |
57 | | - <groupId>org.projectlombok</groupId> |
58 | | - <artifactId>lombok</artifactId> |
59 | | - <optional>true</optional> |
60 | | - </dependency> |
61 | | - <dependency> |
62 | | - <groupId>org.springframework.boot</groupId> |
63 | | - <artifactId>spring-boot-starter-test</artifactId> |
64 | | - <scope>test</scope> |
65 | | - </dependency> |
66 | | - <dependency> |
67 | | - <groupId>io.projectreactor</groupId> |
68 | | - <artifactId>reactor-test</artifactId> |
69 | | - <scope>test</scope> |
70 | | - </dependency> |
71 | | - </dependencies> |
| 22 | + <dependencies> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework.boot</groupId> |
| 25 | + <artifactId>spring-boot-starter-actuator</artifactId> |
| 26 | + </dependency> |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.cloud</groupId> |
| 33 | + <artifactId>spring-cloud-starter-gateway</artifactId> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>org.springframework.cloud</groupId> |
| 37 | + <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
| 38 | + </dependency> |
| 39 | + <dependency> |
| 40 | + <groupId>org.springframework.cloud</groupId> |
| 41 | + <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> |
| 42 | + </dependency> |
| 43 | + <dependency> |
| 44 | + <groupId>org.springframework.cloud</groupId> |
| 45 | + <artifactId>spring-cloud-starter-openfeign</artifactId> |
| 46 | + </dependency> |
| 47 | + <dependency> |
| 48 | + <groupId>com.okta.spring</groupId> |
| 49 | + <artifactId>okta-spring-boot-starter</artifactId> |
| 50 | + <version>2.0.1</version> |
| 51 | + </dependency> |
| 52 | + <dependency> |
| 53 | + <groupId>org.springframework.cloud</groupId> |
| 54 | + <artifactId>spring-cloud-security</artifactId> |
| 55 | + </dependency> |
| 56 | + <dependency> |
| 57 | + <groupId>org.projectlombok</groupId> |
| 58 | + <artifactId>lombok</artifactId> |
| 59 | + <optional>true</optional> |
| 60 | + </dependency> |
| 61 | + <dependency> |
| 62 | + <groupId>org.springframework.boot</groupId> |
| 63 | + <artifactId>spring-boot-starter-test</artifactId> |
| 64 | + <scope>test</scope> |
| 65 | + <exclusions> |
| 66 | + <exclusion> |
| 67 | + <groupId>org.junit.vintage</groupId> |
| 68 | + <artifactId>junit-vintage-engine</artifactId> |
| 69 | + </exclusion> |
| 70 | + </exclusions> |
| 71 | + </dependency> |
| 72 | + <dependency> |
| 73 | + <groupId>io.projectreactor</groupId> |
| 74 | + <artifactId>reactor-test</artifactId> |
| 75 | + <scope>test</scope> |
| 76 | + </dependency> |
| 77 | + </dependencies> |
72 | 78 |
|
73 | | - <dependencyManagement> |
74 | | - <dependencies> |
75 | | - <dependency> |
76 | | - <groupId>org.springframework.cloud</groupId> |
77 | | - <artifactId>spring-cloud-dependencies</artifactId> |
78 | | - <version>${spring-cloud.version}</version> |
79 | | - <type>pom</type> |
80 | | - <scope>import</scope> |
81 | | - </dependency> |
82 | | - </dependencies> |
83 | | - </dependencyManagement> |
| 79 | + <dependencyManagement> |
| 80 | + <dependencies> |
| 81 | + <dependency> |
| 82 | + <groupId>org.springframework.cloud</groupId> |
| 83 | + <artifactId>spring-cloud-dependencies</artifactId> |
| 84 | + <version>${spring-cloud.version}</version> |
| 85 | + <type>pom</type> |
| 86 | + <scope>import</scope> |
| 87 | + </dependency> |
| 88 | + </dependencies> |
| 89 | + </dependencyManagement> |
84 | 90 |
|
85 | | - <build> |
| 91 | + <build> |
86 | 92 | <defaultGoal>spring-boot:run</defaultGoal> |
87 | | - <plugins> |
88 | | - <plugin> |
89 | | - <groupId>org.springframework.boot</groupId> |
90 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
91 | | - </plugin> |
92 | | - </plugins> |
93 | | - </build> |
| 93 | + <plugins> |
| 94 | + <plugin> |
| 95 | + <groupId>org.springframework.boot</groupId> |
| 96 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 97 | + <configuration> |
| 98 | + <excludes> |
| 99 | + <exclude> |
| 100 | + <groupId>org.projectlombok</groupId> |
| 101 | + <artifactId>lombok</artifactId> |
| 102 | + </exclude> |
| 103 | + </excludes> |
| 104 | + </configuration> |
| 105 | + </plugin> |
| 106 | + </plugins> |
| 107 | + </build> |
94 | 108 |
|
95 | | - <pluginRepositories> |
96 | | - <pluginRepository> |
97 | | - <id>ossrh</id> |
98 | | - <releases><enabled>false</enabled></releases> |
99 | | - <snapshots><enabled>true</enabled></snapshots> |
100 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
101 | | - </pluginRepository> |
102 | | - </pluginRepositories> |
103 | 109 | </project> |
0 commit comments