From 4bb08dd0399b3d7d034e72a3748e6676e2fc0398 Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: Fri, 19 Aug 2022 10:44:28 +0800
Subject: [PATCH] 修改配置文件
---
pom.xml | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/pom.xml b/pom.xml
index 113e70f..44d62fc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,6 +14,10 @@
<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,6 +37,8 @@
<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>
</properties>
<parent>
@@ -47,6 +53,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 +132,13 @@
<version>${com.alibaba.cloud.version}</version>
</dependency>
+
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>${commons.utils.version}</version>
+ </dependency>
+
</dependencies>
</dependencyManagement>
@@ -150,6 +168,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>
@@ -172,6 +194,7 @@
<artifactId>poi</artifactId>
<version>${poi.version}</version>
</dependency>
+
<!-- redis连接 -->
<dependency>
@@ -212,6 +235,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 +257,11 @@
<build>
<plugins>
+ <!-- 修改打包插件
+ 修改打包方式jar为pom后
+ 默认打包方式为spring-boot-maven-plugin
+ 等到后期打包的时候他会一直提示你,你引入的依赖不存在
+ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -239,6 +271,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