Skip to content

Commit

Permalink
[SPARK-17418] Prevent kinesis-asl-assembly artifacts from being publi…
Browse files Browse the repository at this point in the history
…shed

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 apache#15167 from JoshRosen/stop-publishing-kinesis-assembly.
  • Loading branch information
JoshRosen committed Sep 21, 2016
1 parent 248922f commit d7ee122
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions external/kinesis-asl-assembly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,21 @@
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<plugins>
<!-- SPARK-17418: prevent the kinesis-asl-assembly from being published to Maven -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
Expand Down

0 comments on commit d7ee122

Please sign in to comment.