|
|
@@ -227,6 +227,27 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 打包所有jar包 -->
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>lib</directory>
|
|
|
+ <targetPath>BOOT-INF/lib/</targetPath>
|
|
|
+ <includes>
|
|
|
+ <include>**/*.jar</include>
|
|
|
+ </includes>
|
|
|
+ </resource>
|
|
|
+
|
|
|
+ <!-- 某些情况下,打包后运行不起来需要打开注释 -->
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <!-- <targetPath>BOOT-INF/classes/</targetPath>-->
|
|
|
+ </resource>
|
|
|
+
|
|
|
+
|
|
|
+ </resources>
|
|
|
+
|
|
|
</build>
|
|
|
|
|
|
</project>
|