|
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 http://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.6.RELEASE</version> |
9 | | - <relativePath/> <!-- lookup parent from repository --> |
10 | | - </parent> |
11 | | - <groupId>com.example</groupId> |
12 | | - <artifactId>car-service</artifactId> |
13 | | - <version>0.0.1-SNAPSHOT</version> |
14 | | - <name>car-service</name> |
15 | | - <description>Demo project for Spring Boot</description> |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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.6.RELEASE</version> |
| 9 | + <relativePath/> <!-- lookup parent from repository --> |
| 10 | + </parent> |
| 11 | + <groupId>com.example</groupId> |
| 12 | + <artifactId>car-service</artifactId> |
| 13 | + <version>0.0.1-SNAPSHOT</version> |
| 14 | + <name>car-service</name> |
| 15 | + <description>Demo project for Spring Boot</description> |
16 | 16 |
|
17 | | - <properties> |
18 | | - <java.version>1.8</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>Greenwich.SR2</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-data-jpa</artifactId> |
30 | | - </dependency> |
31 | | - <dependency> |
32 | | - <groupId>org.springframework.boot</groupId> |
33 | | - <artifactId>spring-boot-starter-data-rest</artifactId> |
34 | | - </dependency> |
35 | | - <dependency> |
36 | | - <groupId>org.springframework.boot</groupId> |
37 | | - <artifactId>spring-boot-starter-webflux</artifactId> |
38 | | - </dependency> |
39 | | - <dependency> |
40 | | - <groupId>org.springframework.cloud</groupId> |
41 | | - <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> |
42 | | - </dependency> |
| 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-data-mongodb-reactive</artifactId> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-webflux</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>com.okta.spring</groupId> |
| 41 | + <artifactId>okta-spring-boot-starter</artifactId> |
| 42 | + <version>1.2.1</version> |
| 43 | + </dependency> |
| 44 | + <dependency> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-devtools</artifactId> |
| 47 | + <scope>runtime</scope> |
| 48 | + <optional>true</optional> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.projectlombok</groupId> |
| 52 | + <artifactId>lombok</artifactId> |
| 53 | + <optional>true</optional> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>org.springframework.boot</groupId> |
| 57 | + <artifactId>spring-boot-starter-test</artifactId> |
| 58 | + <scope>test</scope> |
| 59 | + </dependency> |
| 60 | + <!-- note: need to add for @WithMockUser --> |
| 61 | + <dependency> |
| 62 | + <groupId>org.springframework.security</groupId> |
| 63 | + <artifactId>spring-security-test</artifactId> |
| 64 | + <scope>test</scope> |
| 65 | + </dependency> |
| 66 | + <dependency> |
| 67 | + <groupId>de.flapdoodle.embed</groupId> |
| 68 | + <artifactId>de.flapdoodle.embed.mongo</artifactId> |
| 69 | + <!--<scope>test</scope>--> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>io.projectreactor</groupId> |
| 73 | + <artifactId>reactor-test</artifactId> |
| 74 | + <scope>test</scope> |
| 75 | + </dependency> |
| 76 | + </dependencies> |
43 | 77 |
|
44 | | - <dependency> |
45 | | - <groupId>org.springframework.boot</groupId> |
46 | | - <artifactId>spring-boot-devtools</artifactId> |
47 | | - <scope>runtime</scope> |
48 | | - <optional>true</optional> |
49 | | - </dependency> |
50 | | - <dependency> |
51 | | - <groupId>com.h2database</groupId> |
52 | | - <artifactId>h2</artifactId> |
53 | | - <scope>runtime</scope> |
54 | | - </dependency> |
55 | | - <dependency> |
56 | | - <groupId>org.projectlombok</groupId> |
57 | | - <artifactId>lombok</artifactId> |
58 | | - <optional>true</optional> |
59 | | - </dependency> |
60 | | - <dependency> |
61 | | - <groupId>org.springframework.boot</groupId> |
62 | | - <artifactId>spring-boot-starter-test</artifactId> |
63 | | - <scope>test</scope> |
64 | | - </dependency> |
65 | | - <dependency> |
66 | | - <groupId>io.projectreactor</groupId> |
67 | | - <artifactId>reactor-test</artifactId> |
68 | | - <scope>test</scope> |
69 | | - </dependency> |
70 | | - </dependencies> |
| 78 | + <dependencyManagement> |
| 79 | + <dependencies> |
| 80 | + <dependency> |
| 81 | + <groupId>org.springframework.cloud</groupId> |
| 82 | + <artifactId>spring-cloud-dependencies</artifactId> |
| 83 | + <version>${spring-cloud.version}</version> |
| 84 | + <type>pom</type> |
| 85 | + <scope>import</scope> |
| 86 | + </dependency> |
| 87 | + </dependencies> |
| 88 | + </dependencyManagement> |
71 | 89 |
|
72 | | - <dependencyManagement> |
73 | | - <dependencies> |
74 | | - <dependency> |
75 | | - <groupId>org.springframework.cloud</groupId> |
76 | | - <artifactId>spring-cloud-dependencies</artifactId> |
77 | | - <version>${spring-cloud.version}</version> |
78 | | - <type>pom</type> |
79 | | - <scope>import</scope> |
80 | | - </dependency> |
81 | | - </dependencies> |
82 | | - </dependencyManagement> |
83 | | - |
84 | | - <build> |
85 | | - <plugins> |
86 | | - <plugin> |
87 | | - <groupId>org.springframework.boot</groupId> |
88 | | - <artifactId>spring-boot-maven-plugin</artifactId> |
89 | | - </plugin> |
90 | | - </plugins> |
91 | | - </build> |
| 90 | + <build> |
| 91 | + <defaultGoal>spring-boot:run</defaultGoal> |
| 92 | + <plugins> |
| 93 | + <plugin> |
| 94 | + <groupId>org.springframework.boot</groupId> |
| 95 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 96 | + </plugin> |
| 97 | + </plugins> |
| 98 | + </build> |
92 | 99 |
|
93 | 100 | </project> |
0 commit comments