summaryrefslogtreecommitdiffstats
path: root/parent
diff options
context:
space:
mode:
authorgjoranv <gv@verizonmedia.com>2022-05-23 01:15:17 +0200
committergjoranv <gv@verizonmedia.com>2022-06-08 11:45:22 +0200
commit0f7b78a5f3a4456cdae0f68c7c50d47ce9607de4 (patch)
treee483927b4a41bd72755f2bdccc55020965b48f25 /parent
parentea40e57d4a63ec57332c31fcf05954e907996d81 (diff)
Move guava exclusions to parent dependencyManagement
- Does not affect user projects, and saves us from duplicating the exclusions.
Diffstat (limited to 'parent')
-rw-r--r--parent/pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/parent/pom.xml b/parent/pom.xml
index 398af664de7..24e9caf9aa9 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -480,6 +480,33 @@
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
+ <artifactId>guava</artifactId>
+ <version>${guava.version}</version>
+ <exclusions>
+ <exclusion>
+ <!-- Annotations with retention Runtime. Remove exclusion and provide from jdisc_core if needed. -->
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- Empty artifact for gradle projects, see the artifact's pom.xml -->
+ <groupId>com.google.guava</groupId>
+ <artifactId>listenablefuture</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- Annotations with retention Runtime. Remove exclusion if needed. -->
+ <groupId>org.checkerframework</groupId>
+ <artifactId>checker-qual</artifactId>
+ </exclusion>
+ <exclusion>
+ <!-- Annotation with retention class only -->
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>animal-sniffer-annotations</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>com.google.guava</groupId>
<artifactId>guava-testlib</artifactId>
<version>${guava.version}</version>
</dependency>