NIFI-4645 make sure the grpc bundle is only built and nar included IF not building on powerpc arch. This closes #2305

This commit is contained in:
joewitt 2017-11-28 15:48:20 -05:00 committed by Matt Gilman
parent 73fa0429f0
commit 9ea9996b36
No known key found for this signature in database
GPG Key ID: DF61EC19432AEE37
2 changed files with 49 additions and 27 deletions

View File

@ -491,11 +491,6 @@
<artifactId>nifi-gcp-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-grpc-nar</artifactId>
<type>nar</type>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-stateful-analysis-nar</artifactId>
@ -538,6 +533,22 @@
</dependency>
</dependencies>
<profiles>
<profile>
<id>supportpowerpc</id>
<activation>
<os>
<family>unix</family>
<arch>ppc</arch>
</os>
</activation>
<dependencies>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-grpc-nar</artifactId>
<type>nar</type>
</dependency>
</dependencies>
</profile>
<profile>
<id>rpm</id>
<activation>

View File

@ -87,7 +87,6 @@
<module>nifi-cybersecurity-bundle</module>
<module>nifi-parquet-bundle</module>
<module>nifi-extension-utils</module>
<module>nifi-grpc-bundle</module>
<module>nifi-redis-bundle</module>
<module>nifi-metrics-reporting-bundle</module>
</modules>
@ -135,6 +134,18 @@
<buildBranch />
</properties>
</profile>
<profile>
<id>supportpowerpc</id>
<activation>
<os>
<family>unix</family>
<arch>ppc</arch>
</os>
</activation>
<modules>
<module>nifi-grpc-bundle</module>
</modules>
</profile>
</profiles>
<dependencyManagement>