|
@@ -56,10 +56,30 @@
|
|
|
</dependencies>
|
|
|
|
|
|
<build>
|
|
|
+ <finalName>FMS</finalName>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ <!-- 指定该Main Class为全局的唯一入口 -->
|
|
|
+ <mainClass>com.example.fms.FmsApplication</mainClass>
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ <excludes>
|
|
|
+ <exclude>
|
|
|
+ <groupId>org.projectlombok</groupId>
|
|
|
+ <artifactId>lombok</artifactId>
|
|
|
+ </exclude>
|
|
|
+ </excludes>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
</build>
|