|
|
@@ -185,6 +185,21 @@
|
|
|
<include>**/*</include>
|
|
|
</includes>
|
|
|
</resource>
|
|
|
+
|
|
|
+ <!-- 打包所有jar包 -->
|
|
|
+ <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>
|
|
|
<plugins>
|
|
|
<plugin>
|
|
|
@@ -229,25 +244,6 @@
|
|
|
</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>
|