|
@@ -352,7 +352,7 @@
|
|
|
<build>
|
|
<build>
|
|
|
<finalName>${project.artifactId}</finalName>
|
|
<finalName>${project.artifactId}</finalName>
|
|
|
<plugins>
|
|
<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>
|
|
@@ -360,34 +360,27 @@
|
|
|
<configuration>
|
|
<configuration>
|
|
|
<source>21</source>
|
|
<source>21</source>
|
|
|
<target>21</target>
|
|
<target>21</target>
|
|
|
- <compilerArgs>--enable-preview</compilerArgs>
|
|
|
|
|
</configuration>
|
|
</configuration>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
|
|
|
|
|
|
|
+ <!-- Spring Boot 插件(全局生效) -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
+ <version>3.2.12</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <mainClass>com.hr.InterfacePlatformApplication</mainClass>
|
|
|
|
|
+ </configuration>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- exec 插件 -->
|
|
|
<plugin>
|
|
<plugin>
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
|
<version>3.0.0</version>
|
|
<version>3.0.0</version>
|
|
|
- <executions>
|
|
|
|
|
- <execution>
|
|
|
|
|
- <id>prepare-package</id>
|
|
|
|
|
- <phase>prepare-package</phase>
|
|
|
|
|
- <goals>
|
|
|
|
|
- <goal>java</goal>
|
|
|
|
|
- </goals>
|
|
|
|
|
- <configuration>
|
|
|
|
|
- <mainClass>com.yy.basedevelop.common.util.Codepackage</mainClass>
|
|
|
|
|
- <arguments>
|
|
|
|
|
-
|
|
|
|
|
- </arguments>
|
|
|
|
|
- </configuration>
|
|
|
|
|
- </execution>
|
|
|
|
|
- </executions>
|
|
|
|
|
|
|
+ <!-- ... -->
|
|
|
</plugin>
|
|
</plugin>
|
|
|
-
|
|
|
|
|
</plugins>
|
|
</plugins>
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
</build>
|
|
</build>
|
|
|
|
|
|
|
|
|
|
|