Skip to content

Commit 810f17c

Browse files
committed
Add shading of guava to pom.xml
1 parent 8ef9ad6 commit 810f17c

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

pom.xml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,29 @@
494494
</instrumentation>
495495
<maxmem>256m</maxmem>
496496
</configuration>
497+
</plugin>
498+
<plugin>
499+
<groupId>org.apache.maven.plugins</groupId>
500+
<artifactId>maven-shade-plugin</artifactId>
501+
<version>3.0.0</version>
502+
<executions>
503+
<execution>
504+
<phase>package</phase>
505+
<goals>
506+
<goal>shade</goal>
507+
</goals>
508+
<configuration>
509+
<shadedArtifactAttached>true</shadedArtifactAttached>
510+
<shadedClassifierName>shadedNoGuava</shadedClassifierName>
511+
<artifactSet>
512+
<includes>
513+
<include>com.google.guava:guava</include>
514+
<include>com.google.guava:guava-testlib</include>
515+
</includes>
516+
</artifactSet>
517+
</configuration>
518+
</execution>
519+
</executions>
497520
</plugin>
498521
<plugin>
499522
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)