The version of the jar I need is avro-mapred-1.7.7-hadoop2.jar. Here is the list of builds on maven central. How do I tell Maven to get the hadoop2 version?
Use the <classifier>
element. Like
<dependency>
<groupId>org.apache.avro</groupId>
<artifactId>avro-mapred</artifactId>
<version>1.7.7</version>
<classifier>hadoop2</classifier>
</dependency>
Aside: Normally with an IDE (like Eclipse) when you try add a dependency with the gui dialog, it will show the list of the different ones you can choose from
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With