|
|
@@ -351,6 +351,7 @@
|
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
+
|
|
|
<build>
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
<plugins>
|
|
|
@@ -362,10 +363,16 @@
|
|
|
<configuration>
|
|
|
<source>21</source>
|
|
|
<target>21</target>
|
|
|
- <compilerArgs>--enable-preview</compilerArgs>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
+ <!-- Spring Boot 插件(全局生效) -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <version>3.2.12</version>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
<plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|