<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<fork>true</fork> <!-- 如果沒有該配置,devtools不會生效 -->
<executable>true</executable> <!--./xxx.jar直接啟動 無需java -jar xxx.jar-->
</configuration>
</plugin>
</plugins>
</build>
