Skip to content

Commit 124cdcf

Browse files
committed
Exclude all non-required dependencies from Guava
1 parent 611a419 commit 124cdcf

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

pom.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,36 @@
105105
<groupId>com.google.guava</groupId>
106106
<artifactId>guava</artifactId>
107107
<version>27.1-jre</version>
108+
<exclusions>
109+
<exclusion>
110+
<groupId>com.google.guava</groupId>
111+
<artifactId>failureaccess</artifactId>
112+
</exclusion>
113+
<exclusion>
114+
<groupId>com.google.guava</groupId>
115+
<artifactId>listenablefuture</artifactId>
116+
</exclusion>
117+
<exclusion>
118+
<groupId>com.google.errorprone</groupId>
119+
<artifactId>error_prone_annotations</artifactId>
120+
</exclusion>
121+
<exclusion>
122+
<groupId>com.google.j2objc</groupId>
123+
<artifactId>j2objc-annotations</artifactId>
124+
</exclusion>
125+
<exclusion>
126+
<groupId>org.codehaus.mojo</groupId>
127+
<artifactId>animal-sniffer-annotations</artifactId>
128+
</exclusion>
129+
<exclusion>
130+
<groupId>org.checkerframework</groupId>
131+
<artifactId>checker-qual</artifactId>
132+
</exclusion>
133+
<exclusion>
134+
<groupId>com.google.code.findbugs</groupId>
135+
<artifactId>jsr305</artifactId>
136+
</exclusion>
137+
</exclusions>
108138
</dependency>
109139
<dependency>
110140
<groupId>org.tukaani</groupId>

0 commit comments

Comments
 (0)