Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D628717FD7 for ; Mon, 29 Jun 2015 22:52:05 +0000 (UTC) Received: (qmail 8732 invoked by uid 500); 29 Jun 2015 22:52:05 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 8682 invoked by uid 500); 29 Jun 2015 22:52:05 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 8593 invoked by uid 99); 29 Jun 2015 22:52:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 22:52:05 +0000 Date: Mon, 29 Jun 2015 22:52:05 +0000 (UTC) From: "Gabor Liptak (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-12048) many undeclared used dependencies (and declared unused dependencies) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-12048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gabor Liptak updated HADOOP-12048: ---------------------------------- Attachment: HADOOP-12048.2.patch > many undeclared used dependencies (and declared unused dependencies) > -------------------------------------------------------------------- > > Key: HADOOP-12048 > URL: https://issues.apache.org/jira/browse/HADOOP-12048 > Project: Hadoop Common > Issue Type: Bug > Components: build > Affects Versions: 3.0.0 > Reporter: Sangjin Lee > Assignee: Gabor Liptak > Attachments: HADOOP-12048.1.patch, HADOOP-12048.2.patch, dependency-analysis.txt, hadoop-unused.txt > > > Currently there are numerous undeclared used dependencies and declared unused dependencies in the hadoop projects. > Undeclared used dependencies are easier errors to correct, and correcting them will lead to a better management of dependencies (enabling stricter dependency frameworks down the road). > Declared unused dependencies are harder to resolve, as many may be legitimate runtime dependencies. But fixing them would lead to smaller profiles for hadoop projects. > We can do a one-time scan of dependency issues and fix them. However, in the long run, it would be nice to be able to enforce those rules via maven plug-in. -- This message was sent by Atlassian JIRA (v6.3.4#6332)