aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Rosen <joshrosen@databricks.com>2016-09-21 11:38:10 -0700
committerJosh Rosen <joshrosen@databricks.com>2016-09-21 11:38:10 -0700
commitd7ee12211a99efae6f7395e47089236838461d61 (patch)
treeb6b74209eb63aaac3233aab3ca220745a44caf14
parent248922fd4fb7c11a40304431e8cc667a8911a906 (diff)
downloadspark-d7ee12211a99efae6f7395e47089236838461d61.tar.gz
spark-d7ee12211a99efae6f7395e47089236838461d61.tar.bz2
spark-d7ee12211a99efae6f7395e47089236838461d61.zip
[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 #15167 from JoshRosen/stop-publishing-kinesis-assembly.
-rw-r--r--external/kinesis-asl-assembly/pom.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/external/kinesis-asl-assembly/pom.xml b/external/kinesis-asl-assembly/pom.xml
index df528b3598..f7cb764463 100644
--- a/external/kinesis-asl-assembly/pom.xml
+++ b/external/kinesis-asl-assembly/pom.xml
@@ -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>