Skip to content

Commit

Permalink
NIFI-13495 Excluded FindBugs Annotations and Hibernate Annotations
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
exceptionfactory committed Oct 29, 2024
1 parent aacbd51 commit da91a39
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -->
Expand Down

0 comments on commit da91a39

Please sign in to comment.