You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/03 11:52:00 UTC

[jira] [Commented] (NIFI-9980) Correct Google Dependencies for GCP Components

    [ https://issues.apache.org/jira/browse/NIFI-9980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17531158#comment-17531158 ] 

ASF subversion and git services commented on NIFI-9980:
-------------------------------------------------------

Commit 0f6679f2df9a94b288ddb5c2be1ea58e223eb27c in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0f6679f2df ]

NIFI-9980 Corrected conflicting GCP dependencies

- Replaced google-cloud-bom 0.172.0 with libraries-bom 25.2.0 in nifi-gcp-bundle
- Removed specific versions from Google dependencies in nifi-gcp-processors and nifi-gcp-services-api

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #6010.


> Correct Google Dependencies for GCP Components
> ----------------------------------------------
>
>                 Key: NIFI-9980
>                 URL: https://issues.apache.org/jira/browse/NIFI-9980
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.16.1
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The {{nifi-gcp-bundle}} includes a Bill of Materials dependency on {{{}google-cloud-bom{}}}, which manages some of the Google Cloud Platform dependencies for GCP Processors and Services, but does not include the {{google-cloud-core}} library.
> The {{nifi-gcp-processors}} library includes a direct dependency on {{google-cloud-core}} with a specific version, and also includes a dependency on {{google-cloud-pubsublite}} with a specific version. As a result of conflicting versions, the {{PublishGCPubSub}} and {{ConsumeGCPubSub}} processors can throw {{NoClassDefFoundError}} when attempting to run the components.
> The {{google-cloud-bom}} dependency should be replaced with the {{libraries-bom}} dependency as described in [Using Cloud Client Libraries|https://cloud.google.com/java/docs/bom] and references to specific library versions should be removed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)