You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2022/07/19 13:04:34 UTC
[nifi] branch main updated: NIFI-9813 Excluded Ranger modules on ARM64
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 1a1037022f NIFI-9813 Excluded Ranger modules on ARM64
1a1037022f is described below
commit 1a1037022f128782b24c7d928a69b06daf3cd08a
Author: Kevin Doran <kd...@apache.org>
AuthorDate: Sat Jul 16 11:13:06 2022 -0400
NIFI-9813 Excluded Ranger modules on ARM64
This closes #6216
Signed-off-by: David Handermann <ex...@apache.org>
---
nifi-nar-bundles/pom.xml | 34 +++++++++++++++++++++++-
nifi-registry/nifi-registry-extensions/pom.xml | 36 +++++++++++++++++++++++++-
2 files changed, 68 insertions(+), 2 deletions(-)
diff --git a/nifi-nar-bundles/pom.xml b/nifi-nar-bundles/pom.xml
index cc254050ac..7730578f7f 100755
--- a/nifi-nar-bundles/pom.xml
+++ b/nifi-nar-bundles/pom.xml
@@ -80,7 +80,6 @@
<module>nifi-graph-bundle</module>
<module>nifi-email-bundle</module>
<module>nifi-groovyx-bundle</module>
- <module>nifi-ranger-bundle</module>
<module>nifi-websocket-bundle</module>
<module>nifi-tcp-bundle</module>
<module>nifi-gcp-bundle</module>
@@ -168,6 +167,39 @@
<module>nifi-grpc-bundle</module>
</modules>
</profile>
+ <profile>
+ <id>include-ranger</id>
+ <!-- This profile handles the inclusion of ranger artifacts. Currently, ranger
+ uses JNA libraries that require x86 components, so it is platform dependent. -->
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <modules>
+ <module>nifi-ranger-bundle</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>include-ranger-x86</id>
+ <activation>
+ <os>
+ <arch>x86_64</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>nifi-ranger-bundle</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>include-ranger-amd64</id>
+ <activation>
+ <os>
+ <arch>amd64</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>nifi-ranger-bundle</module>
+ </modules>
+ </profile>
</profiles>
<dependencyManagement>
diff --git a/nifi-registry/nifi-registry-extensions/pom.xml b/nifi-registry/nifi-registry-extensions/pom.xml
index a952d28566..f7ab68536e 100644
--- a/nifi-registry/nifi-registry-extensions/pom.xml
+++ b/nifi-registry/nifi-registry-extensions/pom.xml
@@ -25,7 +25,41 @@
<packaging>pom</packaging>
<modules>
- <module>nifi-registry-ranger</module>
<module>nifi-registry-aws</module>
</modules>
+
+ <profiles>
+ <profile>
+ <id>include-ranger</id>
+ <activation>
+ <activeByDefault>false</activeByDefault>
+ </activation>
+ <modules>
+ <module>nifi-registry-ranger</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>include-ranger-x86</id>
+ <activation>
+ <os>
+ <arch>x86_64</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>nifi-registry-ranger</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>include-ranger-amd64</id>
+ <activation>
+ <os>
+ <arch>amd64</arch>
+ </os>
+ </activation>
+ <modules>
+ <module>nifi-registry-ranger</module>
+ </modules>
+ </profile>
+ </profiles>
+
</project>