You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/02/15 12:52:37 UTC

[GitHub] elek opened a new pull request #490: HDDS-1113. Remove default dependencies from hadoop-ozone project

elek opened a new pull request #490: HDDS-1113. Remove default dependencies from hadoop-ozone project
URL: https://github.com/apache/hadoop/pull/490
 
 
   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. 
   
   See: https://issues.apache.org/jira/browse/HDDS-1113

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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