Kalmár Róbert created NIFI-10680:
------------------------------------
Summary: Dependency enforcer fails after banned bouncycastle
version change
Key: NIFI-10680
URL: https://issues.apache.org/jira/browse/NIFI-10680
Project: Apache NiFi
Issue Type: Bug
Components: Tools and Build
Affects Versions: 1.19.0
Reporter: Kalmár Róbert
Assignee: Joe Witt
The change in banned dependencies introduced with NIFI-10614 causes
Nifi-Registry build to fail with some profiles.
{code:java}
[INFO] --- maven-enforcer-plugin:3.1.0:enforce (enforce-maven-version) @
nifi-registry-ranger-plugin ---
[ERROR] Rule 3: org.apache.maven.plugins.enforcer.BannedDependencies failed
with message:
Found Banned Dependency: org.bouncycastle:bcprov-jdk15on:jar:1.67
Found Banned Dependency: org.bouncycastle:bcpkix-jdk15on:jar:1.67 {code}
ozone-client seems to include them transitively:
{code:java}
[INFO] +- org.apache.ozone:ozone-client:jar:1.2.1:compile
[INFO] | \- org.apache.ozone:ozone-common:jar:1.2.1:compile
[INFO] | +- org.apache.ozone:hdds-common:jar:1.2.1:compile
[INFO] | | +- org.bouncycastle:bcpkix-jdk15on:jar:1.67:compile {code}
Profiles used in build:
{code:java}
-Pinclude-ranger,include-atlas,include-hive3,include-rules,include-sql-reporting,include-hadoop-aws,include-hadoop-azure,include-hadoop-cloud-storage,include-hadoop-gcp,include-graph,include-grpc,include-accumulo,include-hadoop-ozone,include-asn1,include-aws,include-snowflake,include-media
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)