From 6108e82f0dd591be0093ccdeb623767c8395139b Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期三, 19 三月 2025 10:23:00 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ansteel-biz/pom.xml |   41 +++++++++++++++++------------------------
 1 files changed, 17 insertions(+), 24 deletions(-)

diff --git a/ansteel-biz/pom.xml b/ansteel-biz/pom.xml
index b678ed3..f696ba6 100644
--- a/ansteel-biz/pom.xml
+++ b/ansteel-biz/pom.xml
@@ -19,11 +19,6 @@
     <dependencies>
 
         <!-- 依赖服务 -->
-<!--        <dependency>-->
-<!--            <groupId>com.iailab</groupId>-->
-<!--            <artifactId>ansteel-api</artifactId>-->
-<!--            <version>${revision}</version>-->
-<!--        </dependency>-->
         <dependency>
             <groupId>com.iailab</groupId>
             <artifactId>iailab-module-infra-api</artifactId>
@@ -123,29 +118,27 @@
 
         <dependency>
             <groupId>com.iailab</groupId>
-            <artifactId>iailab-common-mq</artifactId>
+            <artifactId>ansteel-api</artifactId>
+            <version>1.0.0</version>
         </dependency>
-
     </dependencies>
 
     <build>
-        <!-- 设置构建的 jar 包名 -->
-        <finalName>${project.artifactId}</finalName>
-        <plugins>
-            <!-- 打包 -->
-            <plugin>
-                <groupId>org.springframework.boot</groupId>
-                <artifactId>spring-boot-maven-plugin</artifactId>
-                <version>${spring.boot.version}</version>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>repackage</goal> <!-- 将引入的 jar 打入其中 -->
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
+        <pluginManagement>
+            <plugins>
+                <!-- maven-surefire-plugin 插件,用于运行单元测试。 -->
+                <!-- 注意,需要使用 3.0.X+,因为要支持 Junit 5 版本 -->
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>${maven-surefire-plugin.version}</version>
+                    <configuration>
+                        <skip>true</skip>
+                    </configuration>
+                </plugin>
+                <!-- maven-compiler-plugin 插件,解决 Lombok + MapStruct 组合 -->
+            </plugins>
+        </pluginManagement>
     </build>
 
 </project>

--
Gitblit v1.9.3