You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Elek, Marton (JIRA)" <ji...@apache.org> on 2019/03/06 20:05:00 UTC
[jira] [Updated] (HDDS-1113) Remove default dependencies from
hadoop-ozone project
[ https://issues.apache.org/jira/browse/HDDS-1113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elek, Marton updated HDDS-1113:
-------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> Remove default dependencies from hadoop-ozone project
> -----------------------------------------------------
>
> Key: HDDS-1113
> URL: https://issues.apache.org/jira/browse/HDDS-1113
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: build
> Reporter: Elek, Marton
> Assignee: Elek, Marton
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> There are two ways to define common dependencies with maven:
> 1.) put all the dependencies to the parent project and inherit them
> 2.) get all the dependencies via transitive dependencies
> TLDR; I would like to switch from 1 to 2 in hadoop-ozone
> My main problem with the first approach that all the child project get a lot of dependencies independent if they need them or not. Let's imagine that I would like to create a new project (for example a java csi implementation) It doesn't need ozone-client, ozone-common etc, in fact it conflicts with ozone-client. But these jars are always added as of now.
> Using transitive dependencies is more safe: we can add the dependencies where we need them and all of the other dependent projects will use them.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org