From 6497f4e72e6ac941a71bc78618a2f82be639ab50 Mon Sep 17 00:00:00 2001
From: Mlxa0324 <mlx950324@163.com>
Date: Thu, 27 Oct 2022 12:13:15 +0800
Subject: [PATCH] =?UTF-8?q?pom=E5=85=B3=E7=B3=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pom.xml     | 2 ++
 web/pom.xml | 1 +
 2 files changed, 3 insertions(+)

diff --git a/pom.xml b/pom.xml
index 2e2ef5b2..2f52fb85 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,6 +10,7 @@
         <java.version>1.8</java.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <spring.boot.version>2.5.2</spring.boot.version>
+        <maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
     </properties>
     <modules>
         <module>admin-core</module>
@@ -112,6 +113,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
+                <version>${maven-compiler-plugin.version}</version>
                 <configuration>
                     <source>1.8</source>
                     <target>1.8</target>
diff --git a/web/pom.xml b/web/pom.xml
index be5f8c74..65c01f4e 100644
--- a/web/pom.xml
+++ b/web/pom.xml
@@ -257,6 +257,7 @@
 			<plugin>
 				<groupId>org.springframework.boot</groupId>
 				<artifactId>spring-boot-maven-plugin</artifactId>
+				<version>${spring.boot.version}</version> <!-- 如果 spring.boot.version 版本修改,则这里也要跟着修改 -->
 			</plugin>
 			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>