Skip to content

Commit 38ad2f9

Browse files
JoshRosenzzcclp
authored andcommitted
[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 <joshrosen@databricks.com> Closes apache#15167 from JoshRosen/stop-publishing-kinesis-assembly. (cherry picked from commit ce0a222)
1 parent e4b16e9 commit 38ad2f9

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

extras/kinesis-asl-assembly/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,21 @@
132132
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
133133
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
134134
<plugins>
135+
<!-- SPARK-17418: prevent the kinesis-asl-assembly from being published to Maven -->
136+
<plugin>
137+
<groupId>org.apache.maven.plugins</groupId>
138+
<artifactId>maven-deploy-plugin</artifactId>
139+
<configuration>
140+
<skip>true</skip>
141+
</configuration>
142+
</plugin>
143+
<plugin>
144+
<groupId>org.apache.maven.plugins</groupId>
145+
<artifactId>maven-install-plugin</artifactId>
146+
<configuration>
147+
<skip>true</skip>
148+
</configuration>
149+
</plugin>
135150
<plugin>
136151
<groupId>org.apache.maven.plugins</groupId>
137152
<artifactId>maven-shade-plugin</artifactId>

0 commit comments

Comments
 (0)