Gabor Szadovszky created AVRO-1947: -------------------------------------- Summary: 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)