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 8B48ADD4A for ; Fri, 27 Jul 2012 20:37:36 +0000 (UTC) Received: (qmail 47452 invoked by uid 500); 27 Jul 2012 20:37:36 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 47416 invoked by uid 500); 27 Jul 2012 20:37:36 -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 47105 invoked by uid 99); 27 Jul 2012 20:37:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2012 20:37:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 62966142860 for ; Fri, 27 Jul 2012 20:37:35 +0000 (UTC) Date: Fri, 27 Jul 2012 20:37:35 +0000 (UTC) From: "Tom White (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <48711374.111767.1343421455405.JavaMail.jiratomcat@issues-vm> In-Reply-To: <2009081187.24487.1334360956340.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HADOOP-8278) Make sure components declare correct set of 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-8278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated HADOOP-8278: ------------------------------ Attachment: HADOOP-8278.patch Synced with trunk. The two test failures pass locally. I also checked that I could run a job on a single node install. > Make sure components declare correct set of dependencies > -------------------------------------------------------- > > Key: HADOOP-8278 > URL: https://issues.apache.org/jira/browse/HADOOP-8278 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Reporter: Tom White > Assignee: Tom White > Attachments: HADOOP-8278.patch, HADOOP-8278.patch, HADOOP-8278.patch, HADOOP-8278.patch, HADOOP-8278.patch > > > As mentioned by Scott Carey in https://issues.apache.org/jira/browse/MAPREDUCE-3378?focusedCommentId=13173437&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13173437, we need to make sure that components are declaring the correct set of dependencies. In current trunk there are errors of omission and commission (as reported by 'mvn dependency:analyze'): > * "Used undeclared dependencies" - these are dependencies that are being met transitively. They should be added explicitly as "compile" or "provided" scope. > * "Unused declared dependencies" - these are dependencies that are not needed for compilation, although they may be needed at runtime. They certainly should not be "compile" scope - they should either be removed or marked as "runtime" or "test" scope. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira