I need to use the Confluent kafka-avro-serializer Maven artifact. From the official guide I should add this repository to my Maven pom
kafka-avro-serializer
Adding the below lines in the pom.xml worked for me.
confluent http://packages.confluent.io/maven/