From da91a39cddef806b88dad1d8b0ff028bf8126282 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Tue, 29 Oct 2024 12:56:18 -0500 Subject: [PATCH] NIFI-13495 Excluded FindBugs Annotations and Hibernate Annotations - Added FindBugs Annotations to banned dependencies - Added Hibernate Commons Annotations and Core to banned dependencies - Excluded FindBugs Annotations from nifi-opentelemetry-processors - Updated Hibernate exclusion in nifi-registry-framework --- .../nifi-opentelemetry-processors/pom.xml | 4 ++++ .../nifi-registry-core/nifi-registry-framework/pom.xml | 2 +- pom.xml | 8 ++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nifi-extension-bundles/nifi-opentelemetry-bundle/nifi-opentelemetry-processors/pom.xml b/nifi-extension-bundles/nifi-opentelemetry-bundle/nifi-opentelemetry-processors/pom.xml index f242e31bd71e..1652a8fdba9a 100644 --- a/nifi-extension-bundles/nifi-opentelemetry-bundle/nifi-opentelemetry-processors/pom.xml +++ b/nifi-extension-bundles/nifi-opentelemetry-bundle/nifi-opentelemetry-processors/pom.xml @@ -65,6 +65,10 @@ com.google.protobuf protobuf-java-util + + com.google.code.findbugs + annotations + diff --git a/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml b/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml index f12e290895bd..f05ea3867be7 100644 --- a/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml +++ b/nifi-registry/nifi-registry-core/nifi-registry-framework/pom.xml @@ -272,7 +272,7 @@ hibernate-entitymanager - org.hibernate + org.hibernate.orm hibernate-core diff --git a/pom.xml b/pom.xml index 5af9b0829746..a5c7de1c03a8 100644 --- a/pom.xml +++ b/pom.xml @@ -855,6 +855,14 @@ org.json:json:*:*:compile c3p0:c3p0:*:*:compile + + com.google.code.findbugs:annotations:* + + org.hibernate.common:hibernate-commons-annotations:[,7.0.0] + + org.hibernate.orm:hibernate-core:* + + org.hibernate:hibernate-entitymanager:* com.google.code.findbugs:jsr305:[,3.0.0]:compile