🐛Fix: SpringBoot 项目打包

This commit is contained in:
2025-11-01 12:05:35 +08:00
parent d1d411d53d
commit 2c80f1eec8
6 changed files with 54 additions and 34 deletions
+7 -6
View File
@@ -12,6 +12,12 @@
<artifactId>weather</artifactId>
<dependencies>
<dependency>
<groupId>cn.hezhaohui</groupId>
<artifactId>common</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
@@ -33,11 +39,7 @@
<artifactId>hutool-all</artifactId>
<version>5.8.27</version>
</dependency>
<dependency>
<groupId>cn.hezhaohui</groupId>
<artifactId>common</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
@@ -57,7 +59,6 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>cn.hezhaohui.weather.WeatherApplication</mainClass>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin>
</plugins>