Skip to content

Commit

Permalink
Ban com.google.code.findbugs:jsr305 unconditionally #3335
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed Nov 25, 2021
1 parent f2be8e5 commit 958e2f6
Show file tree
Hide file tree
Showing 10 changed files with 107 additions and 0 deletions.
6 changes: 6 additions & 0 deletions extensions-support/google-http-client/runtime/pom.xml
Expand Up @@ -58,6 +58,12 @@
<dependency>
<groupId>com.google.http-client</groupId>
<artifactId>google-http-client</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

Expand Down
6 changes: 6 additions & 0 deletions extensions/cassandraql/runtime/pom.xml
Expand Up @@ -73,6 +73,12 @@
<dependency>
<groupId>com.datastax.oss</groupId>
<artifactId>java-driver-core</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.datastax.oss</groupId>
Expand Down
6 changes: 6 additions & 0 deletions extensions/google-pubsub/deployment/pom.xml
Expand Up @@ -37,6 +37,12 @@
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-grpc-common-deployment</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
Expand Down
6 changes: 6 additions & 0 deletions extensions/google-pubsub/runtime/pom.xml
Expand Up @@ -65,6 +65,12 @@
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-grpc-common</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
Expand Down
6 changes: 6 additions & 0 deletions extensions/grpc/deployment/pom.xml
Expand Up @@ -33,6 +33,12 @@
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-grpc-common-deployment</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
Expand Down
4 changes: 4 additions & 0 deletions extensions/grpc/runtime/pom.xml
Expand Up @@ -51,6 +51,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-grpc-common</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>io.vertx</groupId>
<artifactId>vertx-grpc</artifactId>
Expand Down
6 changes: 6 additions & 0 deletions extensions/opentelemetry/runtime/pom.xml
Expand Up @@ -55,6 +55,12 @@
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/xchange/pom.xml
Expand Up @@ -48,6 +48,12 @@
<dependency>
<groupId>org.knowm.xchange</groupId>
<artifactId>xchange-kraken</artifactId>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>

<!-- test dependencies -->
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Expand Up @@ -647,6 +647,11 @@
<requireMavenVersion>
<version>${supported-maven-versions}</version>
</requireMavenVersion>
<bannedDependencies>
<excludes>
<exclude>com.google.code.findbugs:jsr305</exclude>
</excludes>
</bannedDependencies>
</rules>
</configuration>
</execution>
Expand Down
56 changes: 56 additions & 0 deletions poms/bom/pom.xml
Expand Up @@ -645,6 +645,10 @@
<artifactId>camel-corda</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>org.jboss.logmanager</groupId>
<artifactId>jboss-logmanager</artifactId>
Expand Down Expand Up @@ -765,6 +769,12 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-drill</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
Expand Down Expand Up @@ -827,6 +837,10 @@
<artifactId>camel-fhir</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
Expand Down Expand Up @@ -856,6 +870,12 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-flink</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
Expand Down Expand Up @@ -903,6 +923,10 @@
<artifactId>camel-google-bigquery</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand Down Expand Up @@ -947,6 +971,12 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-functions</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
Expand All @@ -964,6 +994,10 @@
<artifactId>camel-google-pubsub</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand Down Expand Up @@ -1006,6 +1040,10 @@
<artifactId>camel-google-storage</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
<exclusion>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
Expand Down Expand Up @@ -1048,6 +1086,12 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-grpc</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
Expand Down Expand Up @@ -2244,6 +2288,12 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-xchange</artifactId>
<version>${camel.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
Expand Down Expand Up @@ -5800,6 +5850,12 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<exclusions>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
Expand Down

0 comments on commit 958e2f6

Please sign in to comment.