|
@@ -466,34 +466,34 @@
|
|
|
<plugins>
|
|
|
|
|
|
<!-- 如果不分包,则此处必填2 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
-
|
|
|
- <!-- 创建一个不包含依赖的jar包 -->
|
|
|
<!-- <plugin>-->
|
|
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
|
|
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
|
|
|
-<!-- <configuration>-->
|
|
|
-<!-- <mainClass>com.backendsys.Application</mainClass>-->
|
|
|
-<!-- <layout>ZIP</layout>-->
|
|
|
-<!-- <includes>-->
|
|
|
-<!-- <include>-->
|
|
|
-<!-- <groupId>nothing</groupId>-->
|
|
|
-<!-- <artifactId>nothing</artifactId>-->
|
|
|
-<!-- </include>-->
|
|
|
-<!-- </includes>-->
|
|
|
-<!-- </configuration>-->
|
|
|
-<!-- <executions>-->
|
|
|
-<!-- <execution>-->
|
|
|
-<!-- <goals>-->
|
|
|
-<!-- <goal>repackage</goal>-->
|
|
|
-<!-- </goals>-->
|
|
|
-<!-- </execution>-->
|
|
|
-<!-- </executions>-->
|
|
|
<!-- </plugin>-->
|
|
|
|
|
|
+ <!-- 创建一个不包含依赖的jar包 -->
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <mainClass>com.backendsys.Application</mainClass>
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ <includes>
|
|
|
+ <include>
|
|
|
+ <groupId>nothing</groupId>
|
|
|
+ <artifactId>nothing</artifactId>
|
|
|
+ </include>
|
|
|
+ </includes>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
<!-- 将第三方依赖包拷贝到lib目录 (没有更新时注释) -->
|
|
|
<!-- <plugin>-->
|
|
|
<!-- <groupId>org.apache.maven.plugins</groupId>-->
|