You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Nandakumar (Jira)" <ji...@apache.org> on 2025/05/11 00:56:00 UTC

[jira] [Commented] (HDDS-12187) Use hadoop-dependency-client as parent, not dependency

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

Nandakumar commented on HDDS-12187:
-----------------------------------

Thanks [~adoroszlai] for the contribution!

> Use hadoop-dependency-client as parent, not dependency
> ------------------------------------------------------
>
>                 Key: HDDS-12187
>                 URL: https://issues.apache.org/jira/browse/HDDS-12187
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: build
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.1.0
>
>
> {{hadoop-dependency-client}} and {{hadoop-dependency-server}} provide a filtered view of some Hadoop modules, excluding various transitive dependencies for Ozone client and server components.
> Problems:
> - {{dependency:analyze}} reports these as "unused, declared" at the origin module and "used, undeclared" at the dependent module
> - modules can depend on both client and server, which is confusing
> I think this can be improved by:
> - getting rid of {{hadoop-dependency-server}} by moving its exclusions to the root POM (HDDS-12959)
> - defining {{hadoop-dependency-client}}'s exclusions for {{hadoop-common}} in {{dependencyManagement}}, and using it as parent for Ozone's common/client modules (this task)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org