From 9ea9996b36b2f7ef393b7005bf56c7264b17b6e7 Mon Sep 17 00:00:00 2001 From: joewitt Date: Tue, 28 Nov 2017 15:48:20 -0500 Subject: [PATCH] NIFI-4645 make sure the grpc bundle is only built and nar included IF not building on powerpc arch. This closes #2305 --- nifi-assembly/pom.xml | 63 +++++++++++++++++++++++----------------- nifi-nar-bundles/pom.xml | 13 ++++++++- 2 files changed, 49 insertions(+), 27 deletions(-) diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml index 3f5dba4395..a7387cf308 100755 --- a/nifi-assembly/pom.xml +++ b/nifi-assembly/pom.xml @@ -1,14 +1,14 @@ +license agreements. See the NOTICE file distributed with this work for additional +information regarding copyright ownership. The ASF licenses this file to +You under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of +the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required +by applicable law or agreed to in writing, software distributed under the +License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS +OF ANY KIND, either express or implied. See the License for the specific +language governing permissions and limitations under the License. --> 4.0.0 @@ -250,12 +250,12 @@ org.apache.nifi nifi-mongodb-nar nar - - - org.apache.nifi - nifi-mongodb-services-nar - nar - + + + org.apache.nifi + nifi-mongodb-services-nar + nar + org.apache.nifi nifi-solr-nar @@ -491,11 +491,6 @@ nifi-gcp-nar nar - - org.apache.nifi - nifi-grpc-nar - nar - org.apache.nifi nifi-stateful-analysis-nar @@ -538,6 +533,22 @@ + + supportpowerpc + + + unix + ppc + + + + + org.apache.nifi + nifi-grpc-nar + nar + + + rpm @@ -674,11 +685,11 @@ /opt/nifi/nifi-${project.version}/lib + includes are computed by looking at the desired contents of lib vs the desired + contents of bootstrap directories. The bootstrap directory should be comprised + of explicitly included items as found from the lib/bootstrap of a non rpm + build and the lib folder should be specific excludes being those which we + want in bootstrap and NOT in lib. --> /opt/nifi/nifi-${project.version}/lib @@ -712,7 +723,7 @@ org.apache.nifi:nifi-security-utils org.apache.nifi:nifi-utils + which are also not in bootstrap --> org.apache.nifi:nifi-resources org.apache.nifi:nifi-docs diff --git a/nifi-nar-bundles/pom.xml b/nifi-nar-bundles/pom.xml index eb9595ac56..e8b304941a 100755 --- a/nifi-nar-bundles/pom.xml +++ b/nifi-nar-bundles/pom.xml @@ -87,7 +87,6 @@ nifi-cybersecurity-bundle nifi-parquet-bundle nifi-extension-utils - nifi-grpc-bundle nifi-redis-bundle nifi-metrics-reporting-bundle @@ -135,6 +134,18 @@ + + supportpowerpc + + + unix + ppc + + + + nifi-grpc-bundle + +