NIFI-13945 Excluded FindBugs Annotations and Hibernate Annotations

This closes #9468

- 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

Signed-off-by: Joseph Witt <joewitt@apache.org>
This commit is contained in:
exceptionfactory 2024-10-29 12:56:18 -05:00 committed by Joseph Witt
parent cf59c514ff
commit 047f52afca
No known key found for this signature in database
GPG Key ID: 9093BF854F811A1A
3 changed files with 13 additions and 1 deletions

View File

@ -65,6 +65,10 @@
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.code.findbugs</groupId>
<artifactId>annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>

View File

@ -272,7 +272,7 @@
<artifactId>hibernate-entitymanager</artifactId>
</exclusion>
<exclusion>
<groupId>org.hibernate</groupId>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
</exclusion>
</exclusions>

View File

@ -855,6 +855,14 @@
<!-- Cat-X Deps -->
<exclude>org.json:json:*:*:compile</exclude>
<exclude>c3p0:c3p0:*:*:compile</exclude>
<!-- FindBugs Annotations is LGPL-2 -->
<exclude>com.google.code.findbugs:annotations:*</exclude>
<!-- Hibernate Commons Annotations is LGPL-2.1 before version 7.0.0 -->
<exclude>org.hibernate.common:hibernate-commons-annotations:[,7.0.0]</exclude>
<!-- Hibernate Core is LGPL-2.1 -->
<exclude>org.hibernate.orm:hibernate-core:*</exclude>
<!-- Hibernate Entity Manager is LGPL-2.1 -->
<exclude>org.hibernate:hibernate-entitymanager:*</exclude>
<!-- Versions of JSR305 before 3.0.1 are not allowed https://github.com/findbugsproject/findbugs/issues/128 -->
<exclude>com.google.code.findbugs:jsr305:[,3.0.0]:compile</exclude>
<!-- SLF4J routing to Log4j 1.2 is a runtime implementation that conflicts with Logback -->