[ https://issues.apache.org/jira/browse/AVRO-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15640517#comment-15640517 ]
ASF subversion and git services commented on AVRO-1947: ------------------------------------------------------- Commit b28f0d5f8dd5c99d3fff87527627a44be5fd44c4 in avro's branch refs/heads/branch-1.8 from [~gszadovszky] [ https://git-wip-us.apache.org/repos/asf?p=avro.git;h=b28f0d5 ] 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 > Fix For: 1.9.0 > > > 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)