This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit c147881c8e113a4c9f41b2a517d71f8aa9366854
Author: Peter Palaga <ppal...@redhat.com>
AuthorDate: Tue Apr 16 16:05:32 2024 +0200

    Ban com.google.guava:listenablefuture because it does not contain any code 
anyway
---
 poms/bom/pom.xml                                   | 24 ++++++++++++++++++++++
 .../camel-quarkus-banned-dependencies.xml          |  1 +
 2 files changed, 25 insertions(+)

diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index 9bb941bb82..ce8623f5ad 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -881,6 +881,10 @@
                 <artifactId>camel-drill</artifactId>
                 <version>${camel.version}</version>
                 <exclusions>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>org.checkerframework</groupId>
                         <artifactId>checker-qual</artifactId>
@@ -1077,6 +1081,10 @@
                         <groupId>com.google.android</groupId>
                         <artifactId>annotations</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>commons-logging</groupId>
                         <artifactId>commons-logging</artifactId>
@@ -1130,6 +1138,10 @@
                         <groupId>com.google.android</groupId>
                         <artifactId>annotations</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>commons-logging</groupId>
                         <artifactId>commons-logging</artifactId>
@@ -1199,6 +1211,10 @@
                         <groupId>com.google.code.findbugs</groupId>
                         <artifactId>jsr305</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>commons-logging</groupId>
                         <artifactId>commons-logging</artifactId>
@@ -1237,6 +1253,10 @@
                         <groupId>com.google.android</groupId>
                         <artifactId>annotations</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>org.checkerframework</groupId>
                         <artifactId>checker-qual</artifactId>
@@ -6330,6 +6350,10 @@
                         <groupId>com.google.code.findbugs</groupId>
                         <artifactId>jsr305</artifactId>
                     </exclusion>
+                    <exclusion>
+                        <groupId>com.google.guava</groupId>
+                        <artifactId>listenablefuture</artifactId>
+                    </exclusion>
                     <exclusion>
                         <groupId>commons-logging</groupId>
                         <artifactId>commons-logging</artifactId>
diff --git a/tooling/enforcer-rules/camel-quarkus-banned-dependencies.xml 
b/tooling/enforcer-rules/camel-quarkus-banned-dependencies.xml
index 5a0874211f..25646eb02b 100644
--- a/tooling/enforcer-rules/camel-quarkus-banned-dependencies.xml
+++ b/tooling/enforcer-rules/camel-quarkus-banned-dependencies.xml
@@ -25,6 +25,7 @@
                 
<exclude>com.github.spotbugs:spotbugs-annotations</exclude><!-- Similar to 
findbugs. Not needed for compilation or at runtime -->
                 
<exclude>com.github.stephenc.jcip:jcip-annotations</exclude><!-- Should not be 
needed for compilation nor at runtime -->
                 <exclude>com.google.code.findbugs:jsr305</exclude>
+                <exclude>com.google.guava:listenablefuture</exclude><!-- does 
not contain any code, thus fine to exclude -->
                 <exclude>com.sun.activation:javax.activation</exclude><!-- use 
jakarta.activation:jakarta.activation-api and angus-activation instead -->
                 <exclude>com.sun.activation:jakarta.activation</exclude><!-- 
use jakarta.activation:jakarta.activation-api and angus-activation instead -->
                 <exclude>com.sun.mail:javax.mail</exclude><!-- use angus-mail 
and jakarta.mail:jakarta.mail-api instead -->

Reply via email to