avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AVRO-1947) Inconsistent maven profile activation
Date Thu, 03 Nov 2016 16:46:59 GMT

    [ 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:


    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:


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 <gabor.szadovszky@cloudera.com>
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

View raw message