You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by mc...@apache.org on 2019/11/19 21:15:29 UTC

[nifi] branch master updated: NIFI-6880 Fix ranger assembly to exclude Java 11 related JARs

This is an automated email from the ASF dual-hosted git repository.

mcgilman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new efff1b4  NIFI-6880 Fix ranger assembly to exclude Java 11 related JARs
efff1b4 is described below

commit efff1b41f07e4d473de68c91706509c9ab104d58
Author: Bryan Bende <bb...@apache.org>
AuthorDate: Mon Nov 18 11:24:06 2019 -0500

    NIFI-6880 Fix ranger assembly to exclude Java 11 related JARs
    
    This closes #3892
---
 nifi-assembly/src/main/assembly/ranger.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/nifi-assembly/src/main/assembly/ranger.xml b/nifi-assembly/src/main/assembly/ranger.xml
index 04b8016..111d4d33 100644
--- a/nifi-assembly/src/main/assembly/ranger.xml
+++ b/nifi-assembly/src/main/assembly/ranger.xml
@@ -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 -->