|
|
@@ -99,7 +99,25 @@
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <!--includeSystemScope代表maven打包时会将外部引入的jar包(比如在根目录下或resource文件下新加外部jar包)打包到项目jar-->
|
|
|
+ <configuration>
|
|
|
+ <includeSystemScope>true</includeSystemScope>
|
|
|
+ </configuration>
|
|
|
+ </plugin>
|
|
|
+
|
|
|
</plugins>
|
|
|
+ <!-- 加载资源文件-->
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/java</directory>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
</build>
|
|
|
|
|
|
</project>
|