NIFI-6880 Fix ranger assembly to exclude Java 11 related JARs

This closes #3892
This commit is contained in:
Bryan Bende 2019-11-18 11:24:06 -05:00 committed by Matt Gilman
parent 4c79ff0576
commit efff1b41f0
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
1 changed files with 8 additions and 0 deletions

View File

@ -42,6 +42,14 @@
<exclude>nifi-docs</exclude>
<exclude>org.apache.ranger:credentialbuilder:jar</exclude>
<exclude>org.apache.nifi:nifi-ranger-resources:jar</exclude>
<!-- exclude jaxb/activation/annotation libs from lib, they'll be included in the java11 subdir -->
<!-- TODO: remove these once minimum Java version is 11 -->
<exclude>javax.xml.bind:jaxb-api</exclude>
<exclude>com.sun.xml.bind:jaxb-impl</exclude>
<exclude>com.sun.xml.bind:jaxb-core</exclude>
<exclude>javax.activation:javax.activation-api</exclude>
<exclude>javax.annotation:javax.annotation-api</exclude>
</excludes>
</dependencySet>
<!-- Write out dependencies for Ranger's credentialbuilder to ext/ranger/install/lib -->