瀏覽代碼

优化依赖

周浩 9 年之前
父節點
當前提交
0722862353
共有 1 個文件被更改,包括 3 次插入7 次删除
  1. 3 7
      hsweb-web-concurrent/hsweb-web-concurrent-cache/pom.xml

+ 3 - 7
hsweb-web-concurrent/hsweb-web-concurrent-cache/pom.xml

@@ -13,17 +13,13 @@
     <dependencies>
         <dependency>
             <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-redis</artifactId>
+            <artifactId>spring-boot-starter</artifactId>
         </dependency>
 
         <dependency>
             <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-web</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.springframework.session</groupId>
-            <artifactId>spring-session-data-redis</artifactId>
+            <artifactId>spring-boot-starter-redis</artifactId>
+            <optional>true</optional>
         </dependency>
     </dependencies>
 </project>