Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 000BC105C0 for ; Fri, 20 Sep 2013 00:54:52 +0000 (UTC) Received: (qmail 2865 invoked by uid 500); 20 Sep 2013 00:54:52 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 2820 invoked by uid 500); 20 Sep 2013 00:54:52 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 2811 invoked by uid 99); 20 Sep 2013 00:54:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 00:54:51 +0000 Date: Fri, 20 Sep 2013 00:54:51 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-9592) Downstream projects cannot use hadoop.profile in their maven builds MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Enis Soztutar created HBASE-9592: ------------------------------------ Summary: Downstream projects cannot use hadoop.profile in their maven builds Key: HBASE-9592 URL: https://issues.apache.org/jira/browse/HBASE-9592 Project: HBase Issue Type: Bug Components: build Reporter: Enis Soztutar Assignee: Enis Soztutar Fix For: 0.96.1 When a downstream project depends on hbase, and uses hadoop.profile in it's build, then maven craps out because the pom file generated by generate-hadoopX-poms.sh will not activate the relevant hadoop profile: {code} mvn -Dhadoop.profile=2 dependency:tree [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building foo-app 1.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.hbase:hbase-common:jar:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-common:jar:tests:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-client:jar:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-server:jar:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-server:jar:tests:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-hadoop-compat:jar:tests:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details [WARNING] The POM for org.apache.hbase:hbase-hadoop2-compat:jar:tests:0.96.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details {code} Note that a lot of downstream components like flume, mahout, sqoop use this property. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira