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> <artifactId>nifi-gcp-nar</artifactId>
<type>nar</type> <type>nar</type>
</dependency> </dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-grpc-nar</artifactId>
<type>nar</type>
</dependency>
<dependency> <dependency>
<groupId>org.apache.nifi</groupId> <groupId>org.apache.nifi</groupId>
<artifactId>nifi-stateful-analysis-nar</artifactId> <artifactId>nifi-stateful-analysis-nar</artifactId>
@ -538,6 +533,22 @@
</dependency> </dependency>
</dependencies> </dependencies>
<profiles> <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> <profile>
<id>rpm</id> <id>rpm</id>
<activation> <activation>

View File

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