From bc4b358b477df0cc113b14af02b5f89d0b1b38e5 Mon Sep 17 00:00:00 2001 From: Aldrin Piri Date: Thu, 27 Oct 2016 15:12:39 -0400 Subject: [PATCH] NIFI-2954 - Treating bcprov and bcpkix dependencies as provided by nifi in lib and updating projects to include them as provided where needed. --- nifi-assembly/pom.xml | 13 +++++++++++++ nifi-assembly/src/main/assembly/common.xml | 1 + nifi-commons/nifi-site-to-site-client/pom.xml | 6 ++++++ .../nifi-email-bundle/nifi-email-processors/pom.xml | 5 +++++ .../nifi-framework/nifi-file-authorizer/pom.xml | 8 ++++++++ .../nifi-framework-cluster-protocol/pom.xml | 10 +++++++++- .../nifi-hive-bundle/nifi-hive-processors/pom.xml | 8 ++++++++ .../nifi-ssl-context-service/pom.xml | 8 ++++++++ nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml | 5 +++++ nifi-toolkit/nifi-toolkit-tls/pom.xml | 2 ++ pom.xml | 2 ++ 11 files changed, 67 insertions(+), 1 deletion(-) diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml index 5a7fc9d5ac93..4586b3edf486 100755 --- a/nifi-assembly/pom.xml +++ b/nifi-assembly/pom.xml @@ -92,6 +92,19 @@ language governing permissions and limitations under the License. --> org.apache.nifi nifi-bootstrap + + + + org.bouncycastle + bcprov-jdk15on + compile + + + org.bouncycastle + bcpkix-jdk15on + compile + + org.apache.nifi nifi-resources diff --git a/nifi-assembly/src/main/assembly/common.xml b/nifi-assembly/src/main/assembly/common.xml index 80af55205dd5..bfaa49d88100 100644 --- a/nifi-assembly/src/main/assembly/common.xml +++ b/nifi-assembly/src/main/assembly/common.xml @@ -30,6 +30,7 @@ nifi-api commons-lang3 bcprov-jdk15on + bcpkix-jdk15on diff --git a/nifi-commons/nifi-site-to-site-client/pom.xml b/nifi-commons/nifi-site-to-site-client/pom.xml index 0187a045ba2a..da149381dca5 100644 --- a/nifi-commons/nifi-site-to-site-client/pom.xml +++ b/nifi-commons/nifi-site-to-site-client/pom.xml @@ -37,6 +37,12 @@ org.apache.nifi nifi-utils + + + org.bouncycastle + bcpkix-jdk15on + + org.codehaus.jackson jackson-mapper-asl diff --git a/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/pom.xml b/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/pom.xml index 43181fde1434..58cb308266fd 100644 --- a/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/pom.xml +++ b/nifi-nar-bundles/nifi-email-bundle/nifi-email-processors/pom.xml @@ -84,6 +84,11 @@ 1.5.2 test + + org.bouncycastle + bcpkix-jdk15on + test + diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/pom.xml b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/pom.xml index 4c771c151b98..b0071d71e527 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/pom.xml +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-file-authorizer/pom.xml @@ -105,6 +105,14 @@ org.apache.commons commons-lang3 + + org.bouncycastle + bcpkix-jdk15on + + + org.bouncycastle + bcprov-jdk15on + org.apache.nifi nifi-framework-authorization diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/pom.xml b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/pom.xml index 77650cf1a2bb..ae46ffddfa8c 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/pom.xml +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/pom.xml @@ -49,7 +49,15 @@ org.apache.nifi nifi-framework-core-api - + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + + org.springframework diff --git a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/pom.xml b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/pom.xml index eebdcbf2a26c..91cc16f9c446 100644 --- a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/pom.xml +++ b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive-processors/pom.xml @@ -92,5 +92,13 @@ 4.11 test + + org.bouncycastle + bcpkix-jdk15on + + + org.bouncycastle + bcprov-jdk15on + diff --git a/nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/pom.xml b/nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/pom.xml index a2b7a65682d4..38dd87763530 100644 --- a/nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/pom.xml +++ b/nifi-nar-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/pom.xml @@ -38,6 +38,14 @@ org.apache.nifi nifi-security-utils + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + org.apache.nifi nifi-mock diff --git a/nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml b/nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml index 977c8b1d203b..32668fb3ca2c 100644 --- a/nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml +++ b/nifi-toolkit/nifi-toolkit-encrypt-config/pom.xml @@ -32,6 +32,11 @@ org.apache.nifi nifi-properties-loader + + org.bouncycastle + bcprov-jdk15on + compile + org.apache.nifi nifi-toolkit-tls diff --git a/nifi-toolkit/nifi-toolkit-tls/pom.xml b/nifi-toolkit/nifi-toolkit-tls/pom.xml index b7e7d11a190e..157dd0a81067 100644 --- a/nifi-toolkit/nifi-toolkit-tls/pom.xml +++ b/nifi-toolkit/nifi-toolkit-tls/pom.xml @@ -45,10 +45,12 @@ org.bouncycastle bcpkix-jdk15on + compile org.bouncycastle bcprov-jdk15on + compile commons-cli diff --git a/pom.xml b/pom.xml index 11bcd3687fcc..a30ba184c7c7 100644 --- a/pom.xml +++ b/pom.xml @@ -272,6 +272,7 @@ language governing permissions and limitations under the License. --> org.bouncycastle bcprov-jdk15on 1.54 + provided org.bouncycastle @@ -282,6 +283,7 @@ language governing permissions and limitations under the License. --> org.bouncycastle bcpkix-jdk15on 1.54 + provided com.jcraft