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
|
vim /etc/network/interfaces
|
||||||
|
|
||||||
# 添加以下内容 (根据实际网络调整)
|
# 添加以下内容 (根据实际网络调整)
|
||||||
|
#(VMware虚拟机版)
|
||||||
# Node-01
|
# Node-01
|
||||||
# The primary network interface
|
# The primary network interface
|
||||||
auto ens33
|
auto ens33
|
||||||
iface ens33 inet static
|
iface ens33 inet static
|
||||||
address 192.168.1.101
|
address 192.168.1.101
|
||||||
netmask 255.255.255.0
|
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
|
dns-nameservers 8.8.8.8 114.114.114.114
|
||||||
|
|
||||||
# 重启网络
|
# 重启网络
|
||||||
|
|||||||
@@ -107,11 +107,16 @@
|
|||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<!-- Spring Boot Maven Plugin - 子模块需要显式声明才生效 -->
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user