[ https://issues.apache.org/jira/browse/HIVE-14289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zoltan Haindrich updated HIVE-14289: ------------------------------------ Attachment: experimental.patch i've narrowed it down to the {{maven-remote-resources-plugin}} ... not sure why it's needed...but with this patch the problem goes away...and i was able to install the root project; but it reappeared inside itests...and i was not able to skip that...i think this anomaly maybe related to the ant plugin... I can't really see any solutions...if someone would give it a try - maybe a fresh mindset can help ;) > can't reliably specify hadoop.version for maven build > ----------------------------------------------------- > > Key: HIVE-14289 > URL: https://issues.apache.org/jira/browse/HIVE-14289 > Project: Hive > Issue Type: Bug > Environment: maven 3.3.9 > Reporter: Zoltan Haindrich > Attachments: experimental.patch > > > if someone would like to build against a different hadoop.version; it looks > straightforward to use {{-Dhadoop.version=...}}. however this doesn't "fully" > override the default value of the {{hadoop.version}} maven property. > steps to reproduce: > * change hadoop.version to some nonsence: > {code} > sed -i > "/hadoop.version.*hadoop.version/s|.*|<hadoop.version>nonexistentt</hadoop.version>|" > pom.xml > {code} > * specify a valid {{hadoop.version}} from the commandline: > {code} > mvn clean package -DskipTests -Dhadoop.version=2.6.1 > {code} > i'm not sure..but from {{-X}} output i've seen: > {code} > [DEBUG] Ant property 'hadoop.version=2.6.1' clashs with an existing Maven > property, SKIPPING this Ant pr > operty propagation. > {code} > the build will fail..or at least it fails for me.. -- This message was sent by Atlassian JIRA (v6.3.4#6332)