From 208b6439eb8e63b6485240a8b466ebdcfd08c57a Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: 星期一, 05 九月 2022 11:27:23 +0800
Subject: [PATCH] 应急统计

---
 pom.xml |   39 +++++++++++++++++++++++++++++++++------
 1 files changed, 33 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 164b1d2..5dd6e01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,11 +9,21 @@
     <packaging>pom</packaging>
     <version>1.0-SNAPSHOT</version>
 
+    <parent>
+        <groupId>org.springframework.boot</groupId>
+        <artifactId>spring-boot-starter-parent</artifactId>
+        <version>2.7.1</version>
+    </parent>
+
     <modules>
         <module>goal-manage/goal-manage-service</module>
         <module>goal-manage/goal-manage-rpc-provider</module>
         <module>emergency/emergency-service</module>
         <module>emergency/emergency-rpc-provider</module>
+        <module>equipment/equipment-service</module>
+        <module>equipment/equipment-rpc-provider</module>
+        <module>incident-manage/incident-manage-service</module>
+        <module>incident-manage/incident-manage-rpc-provider</module>
         <module>safePlatfrom-out-web</module>
     </modules>
 
@@ -35,13 +45,8 @@
         <com.alibaba.cloud.version>2.2.8.RELEASE</com.alibaba.cloud.version>
         <jta.starter.version>2.7.1</jta.starter.version>
         <commons.utils.version>1.9.4</commons.utils.version>
+        <redission.version>3.17.4</redission.version>
     </properties>
-
-    <parent>
-        <groupId>org.springframework.boot</groupId>
-        <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.6.7</version>
-    </parent>
 
     <dependencyManagement>
         <dependencies>
@@ -135,6 +140,12 @@
                 <version>${commons.utils.version}</version>
             </dependency>
 
+            <dependency>
+                <groupId>org.redisson</groupId>
+                <artifactId>redisson-spring-boot-starter</artifactId>
+                <version>${redission.version}</version>
+            </dependency>
+
         </dependencies>
     </dependencyManagement>
 
@@ -198,6 +209,10 @@
             <artifactId>spring-boot-starter-data-redis</artifactId>
         </dependency>
         <dependency>
+            <groupId>org.redisson</groupId>
+            <artifactId>redisson-spring-boot-starter</artifactId>
+        </dependency>
+        <dependency>
             <groupId>org.aspectj</groupId>
             <artifactId>aspectjweaver</artifactId>
             <version>1.9.9.1</version>
@@ -253,6 +268,11 @@
 
     <build>
         <plugins>
+            <!-- 修改打包插件
+                修改打包方式jar为pom后
+                默认打包方式为spring-boot-maven-plugin
+                    等到后期打包的时候他会一直提示你,你引入的依赖不存在
+             -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
@@ -262,6 +282,13 @@
                     <target>1.8</target>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <skipTests>true</skipTests>    <!--默认关掉单元测试 -->
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

--
Gitblit v1.9.2