瀏覽代碼

配置更新

yufeng0528 4 年之前
父節點
當前提交
35df8c3676
共有 3 個文件被更改,包括 9 次插入172 次删除
  1. 2 2
      pom.xml
  2. 4 127
      spring5-auth/pom.xml
  3. 3 43
      spring5-gateway/pom.xml

+ 2 - 2
pom.xml

@@ -12,8 +12,8 @@
12 12
     <description>spring5 demo</description>
13 13
 
14 14
     <modules>
15
-        <module>auth</module>
16
-        <module>gateway</module>
15
+        <module>spring5-auth</module>
16
+        <module>spring5-gateway</module>
17 17
     </modules>
18 18
 
19 19
 	<properties>

+ 4 - 127
spring5-auth/pom.xml

@@ -3,142 +3,19 @@
3 3
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4 4
 	<modelVersion>4.0.0</modelVersion>
5 5
 	
6
-	<groupId>com.yaozhitech</groupId>
7 6
 	<artifactId>spring5-auth</artifactId>
8 7
 	<packaging>jar</packaging>
9
-	<version>0.1.0</version>
10
-	
11 8
 	<name>${project.artifactId}</name>
12 9
     <description>spring5 demo</description>
13 10
 	
14
-	<!-- Spring Boot 启动父依赖 -->
15 11
 	<parent>
16
-        <groupId>org.springframework.boot</groupId>
17
-        <artifactId>spring-boot-starter-parent</artifactId>
18
-        <version>2.1.4.RELEASE</version>
19
-        <relativePath />
12
+        <groupId>com.yaozhitech</groupId>
13
+        <artifactId>spring5</artifactId>
14
+        <version>0.1.0</version>
20 15
     </parent>
21
-
22
-	<properties>
23
-		<maven.compiler.source>1.8</maven.compiler.source>
24
-		<maven.compiler.target>1.8</maven.compiler.target>
25
-		<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
26
-		<spring-cloud.version>2.1.4.RELEASE</spring-cloud.version>
27
-	</properties>
28
-	
29
-	<dependencyManagement>
30
-        <dependencies>
31
-            <dependency>
32
-                <groupId>org.springframework.cloud</groupId>
33
-                <artifactId>spring-cloud-dependencies</artifactId>
34
-                <version>Greenwich.RELEASE</version>
35
-                <type>pom</type>
36
-                <scope>import</scope>
37
-            </dependency>
38
-        </dependencies>
39
-    </dependencyManagement>
40 16
     
41 17
 	<dependencies>
42
-	   <!--自省和监控的集成功能-->
43
-        <dependency>
44
-            <groupId>org.springframework.boot</groupId>
45
-            <artifactId>spring-boot-starter-actuator</artifactId>
46
-        </dependency>
47
-        
48
-	   <dependency>
49
-            <groupId>org.springframework.cloud</groupId>
50
-            <artifactId>spring-cloud-starter</artifactId>
51
-       </dependency>
52
-       
53
-       <!-- 网关 -->
54
-		<dependency>
55
-			<groupId>org.springframework.cloud</groupId>
56
-			<artifactId>spring-cloud-starter-gateway</artifactId>
57
-		</dependency>
58
-	
59
-		<!-- hystrix -->
60
-		<dependency>
61
-			<groupId>org.springframework.cloud</groupId>
62
-			<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
63
-		</dependency>
64
-		
65
-		<!-- 最新推荐的断路器 -->
66
-<!--         <dependency> -->
67
-<!--             <groupId>org.springframework.cloud</groupId> -->
68
-<!--             <artifactId>spring-cloud-starter-circuitbreaker-reactor-resilience4j</artifactId> -->
69
-<!--         </dependency> -->
70
-        
71
-		<!-- Spring Boot Web Flux 依赖 -->
72
-		<dependency>
73
-			<groupId>org.springframework.boot</groupId>
74
-			<artifactId>spring-boot-starter-webflux</artifactId>
75
-		</dependency>
76
-	
77
-		<!-- Spring Boot 响应式 Redis 依赖 -->
78
-		<dependency>
79
-			<groupId>org.springframework.boot</groupId>
80
-			<artifactId>spring-boot-starter-data-redis-reactive</artifactId>
81
-		</dependency>
82
-		
83
-		<dependency>
84
-            <groupId>com.alicp.jetcache</groupId>
85
-            <artifactId>jetcache-starter-redis</artifactId>
86
-            <version>2.6.0.M3</version>
87
-        </dependency>
88
-
89
-		<dependency>
90
-			<groupId>com.alicp.jetcache</groupId>
91
-			<artifactId>jetcache-redis-lettuce</artifactId>
92
-			<version>2.6.0.M3</version>
93
-		</dependency>
94
-			
95
-		<!-- Spring test 依赖 -->
96
-        <dependency>
97
-            <groupId>org.springframework.boot</groupId>
98
-            <artifactId>spring-boot-starter-test</artifactId>
99
-            <scope>test</scope>
100
-        </dependency>
101
-        
102
-        <dependency>
103
-            <groupId>junit</groupId>
104
-            <artifactId>junit</artifactId>
105
-            <scope>test</scope>
106
-        </dependency>
107
-        
108
-        <!-- 集成wireMock来实现mock请求响应。wireMock会自动构建一个虚拟远程服务 -->
109
-		<dependency>
110
-		   <groupId>org.springframework.cloud</groupId>
111
-		   <artifactId>spring-cloud-contract-wiremock</artifactId>
112
-		   <scope>test</scope>
113
-		</dependency>
114
-		
115
-		<!-- 提供打包预定义数据服务 -->
116
-		<dependency>
117
-		   <groupId>org.springframework.cloud</groupId>
118
-		   <artifactId>spring-cloud-starter-contract-stub-runner</artifactId>
119
-		   <scope>test</scope>
120
-		</dependency>
121
-		
122
-		<!-- 自动生成单元测试代码 -->
123
-		<dependency>
124
-		   <groupId>org.springframework.cloud</groupId>
125
-		   <artifactId>spring-cloud-starter-contract-verifier</artifactId>
126
-		   <scope>test</scope>
127
-		</dependency>
128
-
129
-
130
-		<dependency>
131
-			<groupId>com.github.tomakehurst</groupId>
132
-			<artifactId>wiremock-standalone</artifactId>
133
-			<version>2.18.0</version>
134
-			<scope>test</scope>
135
-		</dependency>
136
-
137
-		<!-- lombok依赖包 -->
138
-		<dependency>
139
-			<groupId>org.projectlombok</groupId>
140
-			<artifactId>lombok</artifactId>
141
-		</dependency>
18
+	   
142 19
 		
143 20
 	</dependencies>
144 21
 </project>

+ 3 - 43
spring5-gateway/pom.xml

@@ -3,52 +3,19 @@
3 3
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4 4
 	<modelVersion>4.0.0</modelVersion>
5 5
 	
6
-	<groupId>com.yaozhitech</groupId>
7 6
 	<artifactId>spring5-gateway</artifactId>
8 7
 	<packaging>jar</packaging>
9
-	<version>0.1.0</version>
10
-	
11 8
 	<name>${project.artifactId}</name>
12 9
     <description>spring5 demo</description>
13 10
 	
14 11
 	<!-- Spring Boot 启动父依赖 -->
15 12
 	<parent>
16
-        <groupId>org.springframework.boot</groupId>
17
-        <artifactId>spring-boot-starter-parent</artifactId>
18
-        <version>2.1.4.RELEASE</version>
19
-        <relativePath />
13
+        <groupId>com.yaozhitech</groupId>
14
+        <artifactId>spring5</artifactId>
15
+        <version>0.1.0</version>
20 16
     </parent>
21 17
 
22
-	<properties>
23
-		<maven.compiler.source>1.8</maven.compiler.source>
24
-		<maven.compiler.target>1.8</maven.compiler.target>
25
-		<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
26
-		<spring-cloud.version>2.1.4.RELEASE</spring-cloud.version>
27
-	</properties>
28
-	
29
-	<dependencyManagement>
30
-        <dependencies>
31
-            <dependency>
32
-                <groupId>org.springframework.cloud</groupId>
33
-                <artifactId>spring-cloud-dependencies</artifactId>
34
-                <version>Greenwich.RELEASE</version>
35
-                <type>pom</type>
36
-                <scope>import</scope>
37
-            </dependency>
38
-        </dependencies>
39
-    </dependencyManagement>
40
-    
41 18
 	<dependencies>
42
-	   <!--自省和监控的集成功能-->
43
-        <dependency>
44
-            <groupId>org.springframework.boot</groupId>
45
-            <artifactId>spring-boot-starter-actuator</artifactId>
46
-        </dependency>
47
-        
48
-	   <dependency>
49
-            <groupId>org.springframework.cloud</groupId>
50
-            <artifactId>spring-cloud-starter</artifactId>
51
-       </dependency>
52 19
        
53 20
        <!-- 网关 -->
54 21
 		<dependency>
@@ -130,15 +97,8 @@
130 97
 		<dependency>
131 98
 			<groupId>com.github.tomakehurst</groupId>
132 99
 			<artifactId>wiremock-standalone</artifactId>
133
-			<version>2.18.0</version>
134 100
 			<scope>test</scope>
135 101
 		</dependency>
136 102
 
137
-		<!-- lombok依赖包 -->
138
-		<dependency>
139
-			<groupId>org.projectlombok</groupId>
140
-			<artifactId>lombok</artifactId>
141
-		</dependency>
142
-		
143 103
 	</dependencies>
144 104
 </project>