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 <exceptionfactory@apache.org>
This commit is contained in:
Zoltan Kornel Torok 2022-01-17 12:14:22 +01:00 committed by exceptionfactory
parent 4847926a4b
commit 9783f1c5c3
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA

View File

@ -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>
</project>