This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 9783f1c NIFI-9552 Fix NoClassDefFound error in case of
nifi-registry-ranger-assembly
9783f1c is described below
commit 9783f1c5c3b68342708e323bab7ed369d74f6695
Author: Zoltan Kornel Torok <[email protected]>
AuthorDate: Mon Jan 17 12:14:22 2022 +0100
NIFI-9552 Fix NoClassDefFound error in case of nifi-registry-ranger-assembly
Without define the jcl-over-slf4j runtime dependency, the assembly plugin
will not copy the jcl jar to the ranger lib directory,
which cause NoClassDefFoundError in some cases
This closes #5663
Signed-off-by: David Handermann <[email protected]>
---
.../nifi-registry-ranger/nifi-registry-ranger-assembly/pom.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git
a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-assembly/pom.xml
b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-assembly/pom.xml
index dc0631d..a580e1c 100644
---
a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-assembly/pom.xml
+++
b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/nifi-registry-ranger-assembly/pom.xml
@@ -31,6 +31,11 @@
<artifactId>nifi-registry-ranger-plugin</artifactId>
<version>1.16.0-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>jcl-over-slf4j</artifactId>
+ <scope>runtime</scope>
+ </dependency>
</dependencies>
<build>
@@ -58,4 +63,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>