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 |   62 ++++++++++++++++++++++++++++---
 1 files changed, 56 insertions(+), 6 deletions(-)

diff --git a/pom.xml b/pom.xml
index 113e70f..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>
 
@@ -33,13 +43,10 @@
         <mybatis.plus.version>3.5.2</mybatis.plus.version>
         <poi.version>4.1.2</poi.version>
         <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>
@@ -47,6 +54,11 @@
                 <groupId>org.apache.dubbo</groupId>
                 <artifactId>dubbo-spring-boot-starter</artifactId>
                 <version>${dubbo.version}</version>
+            </dependency>
+            <dependency>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-starter-jta-atomikos</artifactId>
+                <version>${jta.starter.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.springframework.boot</groupId>
@@ -121,6 +133,19 @@
                 <version>${com.alibaba.cloud.version}</version>
             </dependency>
 
+
+            <dependency>
+                <groupId>commons-beanutils</groupId>
+                <artifactId>commons-beanutils</artifactId>
+                <version>${commons.utils.version}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.redisson</groupId>
+                <artifactId>redisson-spring-boot-starter</artifactId>
+                <version>${redission.version}</version>
+            </dependency>
+
         </dependencies>
     </dependencyManagement>
 
@@ -150,6 +175,10 @@
         </dependency>
         <dependency>
             <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-jta-atomikos</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-security</artifactId>
         </dependency>
         <dependency>
@@ -173,10 +202,15 @@
             <version>${poi.version}</version>
         </dependency>
 
+
         <!-- redis连接 -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <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>
@@ -212,6 +246,10 @@
             <artifactId>dubbo-registry-nacos</artifactId>
         </dependency>
         <dependency>
+            <groupId>commons-beanutils</groupId>
+            <artifactId>commons-beanutils</artifactId>
+        </dependency>
+        <dependency>
             <groupId>io.minio</groupId>
             <artifactId>minio</artifactId>
         </dependency>
@@ -230,6 +268,11 @@
 
     <build>
         <plugins>
+            <!-- 修改打包插件
+                修改打包方式jar为pom后
+                默认打包方式为spring-boot-maven-plugin
+                    等到后期打包的时候他会一直提示你,你引入的依赖不存在
+             -->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
@@ -239,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