refactor: 打包的时候保留jmeter的jar

This commit is contained in:
Captain.B 2020-08-18 17:09:54 +08:00
parent 0fb9f69d83
commit 052fae882e
1 changed files with 10 additions and 4 deletions

View File

@ -299,9 +299,6 @@
</resource> </resource>
<resource> <resource>
<directory>src/main/resources</directory> <directory>src/main/resources</directory>
<excludes>
<exclude>jmeter/lib/ext/*</exclude>
</excludes>
<includes> <includes>
<include>**/*.*</include> <include>**/*.*</include>
</includes> </includes>
@ -372,10 +369,19 @@
<version>2.6</version> <version>2.6</version>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/jmeter/lib/**/*.jar</exclude>
</excludes>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId> <artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<id>main-class-placement</id> <id>main-class-placement</id>