chore(deploy): Improve Maven build configuration and Debian guide
This commit is contained in:
@@ -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
|
||||
|
||||
# 重启网络
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user