Skip to content

Commit 984ad60

Browse files
author
Andrew Or
committed
[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.
1 parent 9cf740f commit 984ad60

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

extras/kinesis-asl/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@
4040
<artifactId>spark-streaming_${scala.binary.version}</artifactId>
4141
<version>${project.version}</version>
4242
</dependency>
43+
<dependency>
44+
<groupId>org.apache.spark</groupId>
45+
<artifactId>spark-core_${scala.binary.version}</artifactId>
46+
<version>${project.version}</version>
47+
<type>test-jar</type>
48+
<scope>test</scope>
49+
</dependency>
4350
<dependency>
4451
<groupId>org.apache.spark</groupId>
4552
<artifactId>spark-streaming_${scala.binary.version}</artifactId>

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,8 @@
14381438
<version>2.3</version>
14391439
<configuration>
14401440
<shadedArtifactAttached>false</shadedArtifactAttached>
1441+
<!-- Work around MSHADE-148 -->
1442+
<createDependencyReducedPom>false</createDependencyReducedPom>
14411443
<artifactSet>
14421444
<includes>
14431445
<!-- At a minimum we must include this to force effective pom generation -->

0 commit comments

Comments
 (0)