jar和lib分离配置
1、使用插件配置获取lib文件
- 使用
mvn clean package
打包解压获取lib文件
<build>
<plugins
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
<mainClass>com.*.Application</mainClass>
<layout>ZIP</layout>
<