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 A850175D7 for ; Wed, 3 Aug 2011 21:47:52 +0000 (UTC) Received: (qmail 36060 invoked by uid 500); 3 Aug 2011 21:47:50 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 35971 invoked by uid 500); 3 Aug 2011 21:47:50 -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 35841 invoked by uid 99); 3 Aug 2011 21:47:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 21:47:49 +0000 X-ASF-Spam-Status: No, hits=-2000.7 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; Wed, 03 Aug 2011 21:47:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7E7C4A7062 for ; Wed, 3 Aug 2011 21:47:27 +0000 (UTC) Date: Wed, 3 Aug 2011 21:47:27 +0000 (UTC) From: "Luke Lu (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <628191500.6151.1312408047514.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1870434006.4012.1312356207440.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HADOOP-7506) hadoopcommon build version cant be set from the maven commandline 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-7506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13079054#comment-13079054 ] Luke Lu commented on HADOOP-7506: --------------------------------- bq. Maybe the versions plugin could be use for this purposes during the CI: http://mojo.codehaus.org/versions-maven-plugin/index.html Just verified that mvn versions:set -DnewVersion=0.23.0-my-version works without the scm stuff. So this is a viable way for CI build, though still less convenient than version properties which can be easily controlled by profiles (e.g., via settings.xml) > hadoopcommon build version cant be set from the maven commandline > ----------------------------------------------------------------- > > Key: HADOOP-7506 > URL: https://issues.apache.org/jira/browse/HADOOP-7506 > Project: Hadoop Common > Issue Type: Sub-task > Components: build > Affects Versions: 0.23.0 > Reporter: Giridharan Kesavan > Assignee: Giridharan Kesavan > Attachments: HADOOP-7506.PATCH > > > pom.xml had to introduce hadoop.version property with the default value set to the snapshot version. If someone during build time want to override the version from maven command line they can do so by passing -Dhadoop.version="". For ppl who doesnt want to change the default version can continue building. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira