这里写目录标题
- Idea maven 插件配置
- pom.xml 配置
- 启动技巧
Idea maven 插件配置
pom.xml 配置
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<!-- 只打源码包-->
<configuration>
<layout>ZIP</layout>
<includes>
<include>
<groupId>nothing</groupId>
<artifactId>nothing</artifactId>
</include>
</includes>
</configuration>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
启动技巧
java -Dloader.path="E:/Desktop/test/lib" -jar blade-system.jar