|
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 | 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> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
5 | 5 |
|
6 |
| - <groupId>springboot</groupId> |
7 |
| - <artifactId>springboot-webflux-1-quickstart</artifactId> |
8 |
| - <version>0.0.1-SNAPSHOT</version> |
9 |
| - <name>springboot-webflux-1-quickstart :: Spring Boot WebFlux 快速入门</name> |
| 6 | + <groupId>springboot</groupId> |
| 7 | + <artifactId>springboot-webflux-1-quickstart</artifactId> |
| 8 | + <version>0.0.1-SNAPSHOT</version> |
| 9 | + <name>springboot-webflux-1-quickstart :: Spring Boot WebFlux 快速入门</name> |
10 | 10 |
|
11 |
| - <!-- Spring Boot 启动父依赖 --> |
12 |
| - <parent> |
13 |
| - <groupId>org.springframework.boot</groupId> |
14 |
| - <artifactId>spring-boot-starter-parent</artifactId> |
15 |
| - <version>2.0.1.RELEASE</version> |
16 |
| - </parent> |
17 |
| - |
18 |
| - <dependencies> |
| 11 | + <parent> |
| 12 | + <groupId>org.springframework.boot</groupId> |
| 13 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 14 | + <version>2.0.1.RELEASE</version> |
| 15 | + <relativePath/> <!-- lookup parent from repository --> |
| 16 | + </parent> |
19 | 17 |
|
20 |
| - <!-- Spring Boot Web Flux 依赖 --> |
21 |
| - <dependency> |
22 |
| - <groupId>org.springframework.boot</groupId> |
23 |
| - <artifactId>spring-boot-starter-webflux</artifactId> |
24 |
| - </dependency> |
| 18 | + <properties> |
| 19 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 20 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 21 | + <java.version>1.8</java.version> |
| 22 | + </properties> |
25 | 23 |
|
26 |
| - <!-- Spring Boot Test 依赖 --> |
27 |
| - <dependency> |
28 |
| - <groupId>org.springframework.boot</groupId> |
29 |
| - <artifactId>spring-boot-starter-test</artifactId> |
30 |
| - <scope>test</scope> |
31 |
| - </dependency> |
| 24 | + <dependencies> |
| 25 | + <dependency> |
| 26 | + <groupId>org.springframework.boot</groupId> |
| 27 | + <artifactId>spring-boot-starter-webflux</artifactId> |
| 28 | + </dependency> |
32 | 29 |
|
33 |
| - <!-- Junit --> |
34 |
| - <dependency> |
35 |
| - <groupId>junit</groupId> |
36 |
| - <artifactId>junit</artifactId> |
37 |
| - <version>4.12</version> |
38 |
| - </dependency> |
39 |
| - </dependencies> |
| 30 | + <dependency> |
| 31 | + <groupId>org.springframework.boot</groupId> |
| 32 | + <artifactId>spring-boot-starter-test</artifactId> |
| 33 | + <scope>test</scope> |
| 34 | + </dependency> |
| 35 | + <dependency> |
| 36 | + <groupId>io.projectreactor</groupId> |
| 37 | + <artifactId>reactor-test</artifactId> |
| 38 | + <scope>test</scope> |
| 39 | + </dependency> |
| 40 | + </dependencies> |
40 | 41 |
|
| 42 | + <build> |
| 43 | + <plugins> |
| 44 | + <plugin> |
| 45 | + <groupId>org.springframework.boot</groupId> |
| 46 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 47 | + </plugin> |
| 48 | + </plugins> |
| 49 | + </build> |
41 | 50 | </project>
|
0 commit comments