I’m trying to use apache hive in a maven project. I wanted to use Hive 0.9.0 and Hadoop 1.0.4 (they should work together according to http://hive.apache.org/releases.html)
Unfortunately, the pom for hive-common-0.9.0 in the maven repos has a dependency on hadoop-core, version 0.20.1 hardcoded. Is there a way to configure my project to ignore that fragment of the pom? (Version 0.20.1 of hadoop is quite legacy and is not available in maven repos)
OK, I’ve found it. Maven allows you to define exclusions for dependencies. In my case it should look like: