NIFI-9813 Excluded Ranger modules on ARM64

This closes #6216

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
Kevin Doran 2022-07-16 11:13:06 -04:00 committed by exceptionfactory
parent 97e7a3c030
commit 1a1037022f
No known key found for this signature in database
GPG Key ID: 29B6A52D2AAE8DBA
2 changed files with 68 additions and 2 deletions

View File

@ -80,7 +80,6 @@
<module>nifi-graph-bundle</module> <module>nifi-graph-bundle</module>
<module>nifi-email-bundle</module> <module>nifi-email-bundle</module>
<module>nifi-groovyx-bundle</module> <module>nifi-groovyx-bundle</module>
<module>nifi-ranger-bundle</module>
<module>nifi-websocket-bundle</module> <module>nifi-websocket-bundle</module>
<module>nifi-tcp-bundle</module> <module>nifi-tcp-bundle</module>
<module>nifi-gcp-bundle</module> <module>nifi-gcp-bundle</module>
@ -168,6 +167,39 @@
<module>nifi-grpc-bundle</module> <module>nifi-grpc-bundle</module>
</modules> </modules>
</profile> </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> </profiles>
<dependencyManagement> <dependencyManagement>

View File

@ -25,7 +25,41 @@
<packaging>pom</packaging> <packaging>pom</packaging>
<modules> <modules>
<module>nifi-registry-ranger</module>
<module>nifi-registry-aws</module> <module>nifi-registry-aws</module>
</modules> </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> </project>