Skip to content

Commit d83ec57

Browse files
committed
Add shade plugin.
1 parent c7251fa commit d83ec57

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

pom-central.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,38 @@
4646

4747
<build>
4848
<plugins>
49+
<plugin>
50+
<groupId>org.apache.maven.plugins</groupId>
51+
<artifactId>maven-shade-plugin</artifactId>
52+
<version>1.4</version>
53+
<executions>
54+
<execution>
55+
<phase>package</phase>
56+
<goals>
57+
<goal>shade</goal>
58+
</goals>
59+
<configuration>
60+
<filters>
61+
<filter>
62+
<artifact>*:*</artifact>
63+
<excludes>
64+
<exclude>META-INF/maven/**</exclude>
65+
<exclude>META-INF/services/**</exclude>
66+
<exclude>META-INF/COPYRIGHT.html</exclude>
67+
<exclude>META-INF/LICENSE*</exclude>
68+
<exclude>META-INF/NOTICE*</exclude>
69+
<exclude>META-INF/README.txt</exclude>
70+
<exclude>META-INF/DEPENDENCIES*</exclude>
71+
<exclude>LICENSE.txt</exclude>
72+
<exclude>rhinoDiff.txt</exclude>
73+
<exclude>license/**</exclude>
74+
</excludes>
75+
</filter>
76+
</filters>
77+
</configuration>
78+
</execution>
79+
</executions>
80+
</plugin>
4981
<plugin>
5082
<groupId>org.apache.maven.plugins</groupId>
5183
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)