|
@@ -0,0 +1,92 @@
|
|
1
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
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
|
+
|
|
6
|
+ <artifactId>spring5-order</artifactId>
|
|
7
|
+ <packaging>jar</packaging>
|
|
8
|
+ <name>${project.artifactId}</name>
|
|
9
|
+ <description>spring5 demo</description>
|
|
10
|
+
|
|
11
|
+ <!-- Spring Boot 启动父依赖 -->
|
|
12
|
+ <parent>
|
|
13
|
+ <groupId>com.yaozhitech</groupId>
|
|
14
|
+ <artifactId>spring5</artifactId>
|
|
15
|
+ <version>0.1.0</version>
|
|
16
|
+ </parent>
|
|
17
|
+
|
|
18
|
+ <dependencies>
|
|
19
|
+
|
|
20
|
+ <!-- Spring Boot Web 依赖 -->
|
|
21
|
+ <dependency>
|
|
22
|
+ <groupId>org.springframework.boot</groupId>
|
|
23
|
+ <artifactId>spring-boot-starter-web</artifactId>
|
|
24
|
+ </dependency>
|
|
25
|
+
|
|
26
|
+ <!-- Spring Boot Redis 依赖 -->
|
|
27
|
+ <dependency>
|
|
28
|
+ <groupId>org.springframework.boot</groupId>
|
|
29
|
+ <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
30
|
+ </dependency>
|
|
31
|
+
|
|
32
|
+<!-- <dependency> -->
|
|
33
|
+<!-- <groupId>com.alicp.jetcache</groupId> -->
|
|
34
|
+<!-- <artifactId>jetcache-starter-redis</artifactId> -->
|
|
35
|
+<!-- <version>2.6.0.M3</version> -->
|
|
36
|
+<!-- </dependency> -->
|
|
37
|
+
|
|
38
|
+<!-- <dependency> -->
|
|
39
|
+<!-- <groupId>com.alicp.jetcache</groupId> -->
|
|
40
|
+<!-- <artifactId>jetcache-redis-lettuce</artifactId> -->
|
|
41
|
+<!-- <version>2.6.0.M3</version> -->
|
|
42
|
+<!-- </dependency> -->
|
|
43
|
+
|
|
44
|
+ <!-- Spring test 依赖 -->
|
|
45
|
+ <dependency>
|
|
46
|
+ <groupId>org.springframework.boot</groupId>
|
|
47
|
+ <artifactId>spring-boot-starter-test</artifactId>
|
|
48
|
+ <scope>test</scope>
|
|
49
|
+ </dependency>
|
|
50
|
+
|
|
51
|
+ <dependency>
|
|
52
|
+ <groupId>junit</groupId>
|
|
53
|
+ <artifactId>junit</artifactId>
|
|
54
|
+ <scope>test</scope>
|
|
55
|
+ </dependency>
|
|
56
|
+
|
|
57
|
+ <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
|
|
58
|
+ <dependency>
|
|
59
|
+ <groupId>org.springframework.cloud</groupId>
|
|
60
|
+ <artifactId>spring-cloud-contract-wiremock</artifactId>
|
|
61
|
+ <scope>test</scope>
|
|
62
|
+ </dependency>
|
|
63
|
+
|
|
64
|
+ <!-- 提供打包预定义数据服务 -->
|
|
65
|
+ <dependency>
|
|
66
|
+ <groupId>org.springframework.cloud</groupId>
|
|
67
|
+ <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
|
|
68
|
+ <scope>test</scope>
|
|
69
|
+ </dependency>
|
|
70
|
+
|
|
71
|
+ <!-- 自动生成单元测试代码 -->
|
|
72
|
+ <dependency>
|
|
73
|
+ <groupId>org.springframework.cloud</groupId>
|
|
74
|
+ <artifactId>spring-cloud-starter-contract-verifier</artifactId>
|
|
75
|
+ <scope>test</scope>
|
|
76
|
+ </dependency>
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+ <dependency>
|
|
80
|
+ <groupId>com.github.tomakehurst</groupId>
|
|
81
|
+ <artifactId>wiremock-standalone</artifactId>
|
|
82
|
+ <scope>test</scope>
|
|
83
|
+ </dependency>
|
|
84
|
+
|
|
85
|
+ <dependency>
|
|
86
|
+ <groupId>com.yaozhitech</groupId>
|
|
87
|
+ <artifactId>spring5-auth-client</artifactId>
|
|
88
|
+ <version>0.1.0</version>
|
|
89
|
+ </dependency>
|
|
90
|
+
|
|
91
|
+ </dependencies>
|
|
92
|
+</project>
|