aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Or <andrew@databricks.com>2015-06-03 20:45:31 -0700
committerAndrew Or <andrew@databricks.com>2015-06-03 20:45:31 -0700
commit984ad60147c933f2d5a2040c87ae687c14eb1724 (patch)
treee10101df7aebb9d9a3bbb0b916db429c5c75c096
parent9cf740f357fef00b5251618b20501774852f8a28 (diff)
downloadspark-984ad60147c933f2d5a2040c87ae687c14eb1724.tar.gz
spark-984ad60147c933f2d5a2040c87ae687c14eb1724.tar.bz2
spark-984ad60147c933f2d5a2040c87ae687c14eb1724.zip
[BUILD] Fix Maven build for Kinesis
A necessary dependency that is transitively referenced is not provided, causing compilation failures in builds that provide the kinesis-asl profile.
-rw-r--r--extras/kinesis-asl/pom.xml7
-rw-r--r--pom.xml2
2 files changed, 9 insertions, 0 deletions
diff --git a/extras/kinesis-asl/pom.xml b/extras/kinesis-asl/pom.xml
index 4787991572..c6f60bc907 100644
--- a/extras/kinesis-asl/pom.xml
+++ b/extras/kinesis-asl/pom.xml
@@ -42,6 +42,13 @@
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
+ <artifactId>spark-core_${scala.binary.version}</artifactId>
+ <version>${project.version}</version>
+ <type>test-jar</type>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.spark</groupId>
<artifactId>spark-streaming_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<type>test-jar</type>
diff --git a/pom.xml b/pom.xml
index 0b1aaad756..d03d33bf02 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1438,6 +1438,8 @@
<version>2.3</version>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
+ <!-- Work around MSHADE-148 -->
+ <createDependencyReducedPom>false</createDependencyReducedPom>
<artifactSet>
<includes>
<!-- At a minimum we must include this to force effective pom generation -->