Update assembly plugin. Exclude transitive dependencies from shade

This commit is contained in:
BuildTools 2019-03-01 14:42:16 -05:00
parent f920c4a48b
commit af7e00ceec
4 changed files with 64 additions and 4 deletions

2
dist/pom.xml vendored
View File

@ -19,7 +19,7 @@
<finalName>Quests-${project.version}</finalName>
<appendAssemblyId>false</appendAssemblyId>
</configuration>
<version>2.2</version>
<version>3.1.1</version>
<executions>
<execution>
<id>package-all</id>

View File

@ -28,7 +28,7 @@
</dependencies>
<build>
<defaultGoal>clean package install</defaultGoal>
<defaultGoal>clean install</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<plugins>
@ -60,6 +60,26 @@
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>com.*</exclude>
<exclude>net.*</exclude>
<exclude>org.*</exclude>
<exclude>io.*</exclude>
</excludes>
</artifactSet>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -28,7 +28,7 @@
</dependencies>
<build>
<defaultGoal>clean package install</defaultGoal>
<defaultGoal>clean install</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<plugins>
@ -60,6 +60,26 @@
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>com.*</exclude>
<exclude>net.*</exclude>
<exclude>org.*</exclude>
<exclude>io.*</exclude>
</excludes>
</artifactSet>
</configuration>
</plugin>
</plugins>
</build>

View File

@ -28,7 +28,7 @@
</dependencies>
<build>
<defaultGoal>clean package install</defaultGoal>
<defaultGoal>clean install</defaultGoal>
<sourceDirectory>${basedir}/src/main/java</sourceDirectory>
<plugins>
@ -60,6 +60,26 @@
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*</exclude>
</excludes>
</filter>
</filters>
<artifactSet>
<excludes>
<exclude>com.*</exclude>
<exclude>net.*</exclude>
<exclude>org.*</exclude>
<exclude>io.*</exclude>
</excludes>
</artifactSet>
</configuration>
</plugin>
</plugins>
</build>