Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4B3AF200BC3 for ; Thu, 3 Nov 2016 17:47:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 49F4E160AE5; Thu, 3 Nov 2016 16:47:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1509B160B0D for ; Thu, 3 Nov 2016 17:47:01 +0100 (CET) Received: (qmail 72827 invoked by uid 500); 3 Nov 2016 16:47:00 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 71978 invoked by uid 99); 3 Nov 2016 16:46:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 16:46:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 89DCB2C1F56 for ; Thu, 3 Nov 2016 16:46:59 +0000 (UTC) Date: Thu, 3 Nov 2016 16:46:59 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1947) Inconsistent maven profile activation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 03 Nov 2016 16:47:03 -0000 [ https://issues.apache.org/jira/browse/AVRO-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15633408#comment-15633408 ] ASF GitHub Bot commented on AVRO-1947: -------------------------------------- GitHub user gszadovszky opened a pull request: https://github.com/apache/avro/pull/150 AVRO-1947 - Inconsistent maven profile activation Made the build backward compatible to be able to use -Dhadoop.version=2. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gszadovszky/avro AVRO-1947 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/avro/pull/150.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #150 ---- commit 796e563b52723bee4ba783f45988f002260ae83a Author: Gabor Szadovszky Date: 2016-11-03T16:45:07Z AVRO-1947 - Inconsistent maven profile activation ---- > Inconsistent maven profile activation > ------------------------------------- > > Key: AVRO-1947 > URL: https://issues.apache.org/jira/browse/AVRO-1947 > Project: Avro > Issue Type: Bug > Components: build, java > Affects Versions: 1.8.1 > Reporter: Gabor Szadovszky > Assignee: Gabor Szadovszky > > The profiles {{hadoop1}} and {{hadoop2}} can be activated by setting the property {{hadoop.version}}. Currently it is implemented in a way that {{hadoop2}} is activated by default (if the property is not set) and {{hadoop1}} is activated if the property is set to {{1}}. BUT if the property is set to any other value (including {{2}}!) none of these profiles will be activated. > Easily reproducible by using the following commands: > - {{mvn help:active-profiles}} > - {{mvn help:active-profiles -Dhadoop.version=2}} > - {{mvn help:active-profiles -Dhadoop.version=1}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)