chore(deploy): Improve Maven build configuration and Debian guide

This commit is contained in:
2026-03-12 16:25:31 +08:00
parent 38876f93b4
commit 046dbf31c6
2 changed files with 11 additions and 5 deletions
+2 -1
View File
@@ -50,13 +50,14 @@ docker compose version
vim /etc/network/interfaces
# 添加以下内容 (根据实际网络调整)
#(VMware虚拟机版)
# Node-01
# The primary network interface
auto ens33
iface ens33 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
gateway 192.168.1.2
dns-nameservers 8.8.8.8 114.114.114.114
# 重启网络
+9 -4
View File
@@ -107,11 +107,16 @@
</modules>
<build>
<pluginManagement>
<plugins>
<!-- Spring Boot Maven Plugin - 子模块需要显式声明才生效 -->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>