From bfb4c1e1d4e3f99f74a51ef5b67531f9d91d0dde Mon Sep 17 00:00:00 2001
From: songhuangfeng123 <shf18767906695@163.com>
Date: Thu, 08 Sep 2022 09:13:38 +0800
Subject: [PATCH] 目标fix
---
pom.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 46 insertions(+), 6 deletions(-)
diff --git a/pom.xml b/pom.xml
index ab9845d..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>
@@ -34,13 +44,9 @@
<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>
@@ -127,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>
@@ -183,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>
@@ -222,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>
@@ -240,6 +268,11 @@
<build>
<plugins>
+ <!-- 修改打包插件
+ 修改打包方式jar为pom后
+ 默认打包方式为spring-boot-maven-plugin
+ 等到后期打包的时候他会一直提示你,你引入的依赖不存在
+ -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -249,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