Update Avro to 1.8.2 (#5075)

And add exclusions that are required to have a single version of
Apache Avro on the classpath.
This commit is contained in:
Fokko Driesprong 2017-11-21 05:29:17 +01:00 committed by Gian Merlino
parent 322b7f6a27
commit 2487152b59
3 changed files with 16 additions and 6 deletions

View File

@ -37,7 +37,7 @@
<properties> <properties>
<schemarepo.version>0.1.3</schemarepo.version> <schemarepo.version>0.1.3</schemarepo.version>
<confluent.version>3.0.1</confluent.version> <confluent.version>3.0.1</confluent.version>
<avro.version>1.8.0</avro.version> <avro.version>1.8.2</avro.version>
<pig.version>0.15.0</pig.version> <pig.version>0.15.0</pig.version>
</properties> </properties>
@ -49,11 +49,11 @@
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.apache.avro</groupId> <groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId> <artifactId>avro</artifactId>
<version>${avro.version}</version> <version>${avro.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.apache.avro</groupId> <groupId>org.apache.avro</groupId>
<artifactId>avro-mapred</artifactId> <artifactId>avro-mapred</artifactId>

View File

@ -120,6 +120,10 @@
<groupId>org.apache.zookeeper</groupId> <groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId> <artifactId>zookeeper</artifactId>
</exclusion> </exclusion>
<exclusion>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
<exclusion> <exclusion>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>

View File

@ -642,6 +642,12 @@
<artifactId>hadoop-client</artifactId> <artifactId>hadoop-client</artifactId>
<version>${hadoop.compile.version}</version> <version>${hadoop.compile.version}</version>
<scope>provided</scope> <scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.avro</groupId>
<artifactId>avro</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.mapdb</groupId> <groupId>org.mapdb</groupId>