Skip to content

Commit d7ee122

Browse files
committed
[SPARK-17418] Prevent kinesis-asl-assembly artifacts from being published
This patch updates the `kinesis-asl-assembly` build to prevent that module from being published as part of Maven releases and snapshot builds. The `kinesis-asl-assembly` includes classes from the Kinesis Client Library (KCL) and Kinesis Producer Library (KPL), both of which are licensed under the Amazon Software License and are therefore prohibited from being distributed in Apache releases. Author: Josh Rosen <[email protected]> Closes #15167 from JoshRosen/stop-publishing-kinesis-assembly.
1 parent 248922f commit d7ee122

File tree

1 file changed

+15
-0
lines changed
  • external/kinesis-asl-assembly

1 file changed

+15
-0
lines changed

external/kinesis-asl-assembly/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,21 @@
141141
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
142142
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
143143
<plugins>
144+
<!-- SPARK-17418: prevent the kinesis-asl-assembly from being published to Maven -->
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-deploy-plugin</artifactId>
148+
<configuration>
149+
<skip>true</skip>
150+
</configuration>
151+
</plugin>
152+
<plugin>
153+
<groupId>org.apache.maven.plugins</groupId>
154+
<artifactId>maven-install-plugin</artifactId>
155+
<configuration>
156+
<skip>true</skip>
157+
</configuration>
158+
</plugin>
144159
<plugin>
145160
<groupId>org.apache.maven.plugins</groupId>
146161
<artifactId>maven-shade-plugin</artifactId>

0 commit comments

Comments
 (0)