Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C8BE3773C for ; Thu, 28 Jul 2011 23:02:34 +0000 (UTC) Received: (qmail 20318 invoked by uid 500); 28 Jul 2011 23:02:34 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 20198 invoked by uid 500); 28 Jul 2011 23:02:33 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 20190 invoked by uid 99); 28 Jul 2011 23:02:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 23:02:33 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jul 2011 23:02:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id DFD1E90161 for ; Thu, 28 Jul 2011 23:02:09 +0000 (UTC) Date: Thu, 28 Jul 2011 23:02:09 +0000 (UTC) From: "Joep Rottinghuis (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: <1051555308.16988.1311894129913.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (HDFS-2214) Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Generated POMs hardcode dependency on hadoop-common version 0.22.0-SNAPSHOT --------------------------------------------------------------------------- Key: HDFS-2214 URL: https://issues.apache.org/jira/browse/HDFS-2214 Project: Hadoop HDFS Issue Type: Bug Components: build Affects Versions: 0.22.0 Environment: RHEL 6.1 & Ubuntu 11.04; Sun JDK 1.6_016 & Sun JDK 1.6.0_26; Ant 1.8.2 Reporter: Joep Rottinghuis The generated poms inject the version of hdfs itsel, but hardcode the version of hadoop-common they depend on. When trying to build downstream projects for example mapreduce, then they will require hadoop-common-0.22.0-SNAPSHOT.jar. When trying to do an offline build this will fail to resolve as another hadoop-common has been installed in the local maven repo. Even during online build, it should compile against the hadoop-common that hdfs compiled against. When versions mismatch one cannot do a coherent build. That is particularly problematic when making simultaneous change in hadoop-common and hadoop-hdfs. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira