aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-03-02 15:18:19 -0800
committerPatrick Wendell <pwendell@gmail.com>2014-03-02 15:18:19 -0800
commitc3f5e075335a65ea522b2f76716921ec056c52ed (patch)
treef4a19d268063a07fbaa63564d67c56cc210beeb4 /pom.xml
parentfd31adbf27d824f00f62646e13c23f632d1b77d3 (diff)
downloadspark-c3f5e075335a65ea522b2f76716921ec056c52ed.tar.gz
spark-c3f5e075335a65ea522b2f76716921ec056c52ed.tar.bz2
spark-c3f5e075335a65ea522b2f76716921ec056c52ed.zip
SPARK-1121: Include avro for yarn-alpha builds
This lets us explicitly include Avro based on a profile for 0.23.X builds. It makes me sad how convoluted it is to express this logic in Maven. @tgraves and @sryza curious if this works for you. I'm also considering just reverting to how it was before. The only real problem was that Spark advertised a dependency on Avro even though it only really depends transitively on Avro through other deps. Author: Patrick Wendell <pwendell@gmail.com> Closes #49 from pwendell/avro-build-fix and squashes the following commits: 8d6ee92 [Patrick Wendell] SPARK-1121: Add avro to yarn-alpha profile
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 7e04efaa9c..7e28d7c194 100644
--- a/pom.xml
+++ b/pom.xml
@@ -426,6 +426,21 @@
</exclusions>
</dependency>
<dependency>
+ <groupId>org.apache.avro</groupId>
+ <artifactId>avro</artifactId>
+ <version>1.7.4</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>io.netty</groupId>
+ <artifactId>netty</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<groupId>net.java.dev.jets3t</groupId>
<artifactId>jets3t</artifactId>
<version>0.7.1</version>