Skip to content

Commit

Permalink
Modified pom. Significant reduction of JAR size
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonygauthier committed Jan 18, 2018
1 parent 7350c34 commit c35e706
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
15 changes: 14 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.delirius</groupId>
<artifactId>jmeter.backendlistener.elasticsearch</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
<packaging>jar</packaging>
<name>jmeter.backendlistener.elasticsearch</name>
<url>http://maven.apache.org</url>
Expand Down Expand Up @@ -148,6 +148,19 @@
<goal>shade</goal>
</goals>
<configuration>
<minimizeJar>true</minimizeJar>
<artifactSet>
<excludes>
<exclude>org.apache.jmeter:*</exclude>
<exclude>commons-codec:*</exclude>
<exclude>commons-logging:*</exclude>
<exclude>com.fasterxml.jackson.*:*</exclude>
<exclude>org.apache.httpcomponents:*</exclude>
<exclude>joda-time:*</exclude>
<exclude>org.apache.lucene:*</exclude>
<exclude>org.hdrhistogram:*</exclude>
</excludes>
</artifactSet>
<transformers>
<!-- add Main-Class to manifest file -->
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import java.net.InetAddress;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Calendar;
Expand Down

0 comments on commit c35e706

Please sign in to comment.