aboutsummaryrefslogtreecommitdiff
path: root/core/pom.xml
diff options
context:
space:
mode:
authorMarcelo Vanzin <vanzin@cloudera.com>2015-05-12 01:39:21 -0700
committerAndrew Or <andrew@databricks.com>2015-05-12 01:39:21 -0700
commit82e890fb19d6fbaffa69856eecb4699f2f8a81eb (patch)
treeaf355cf7aad98e5d27cc82d9790632b44620e0b1 /core/pom.xml
parent984787526625b4ef8a1635faf7a5ac3cb0b758b7 (diff)
downloadspark-82e890fb19d6fbaffa69856eecb4699f2f8a81eb.tar.gz
spark-82e890fb19d6fbaffa69856eecb4699f2f8a81eb.tar.bz2
spark-82e890fb19d6fbaffa69856eecb4699f2f8a81eb.zip
[SPARK-7485] [BUILD] Remove pyspark files from assembly.
The sbt part of the build is hacky; it basically tricks sbt into generating the zip by using a generator, but returns an empty list for the generated files so that nothing is actually added to the assembly. Author: Marcelo Vanzin <vanzin@cloudera.com> Closes #6022 from vanzin/SPARK-7485 and squashes the following commits: 22c1e04 [Marcelo Vanzin] Remove unneeded code. 4893622 [Marcelo Vanzin] [SPARK-7485] [build] Remove pyspark files from assembly.
Diffstat (limited to 'core/pom.xml')
-rw-r--r--core/pom.xml47
1 files changed, 0 insertions, 47 deletions
diff --git a/core/pom.xml b/core/pom.xml
index fc42f48973..262a3320db 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -381,35 +381,6 @@
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<plugins>
- <!-- Unzip py4j so we can include its files in the jar -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>generate-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <target>
- <unzip src="../python/lib/py4j-0.8.2.1-src.zip" dest="../python/build" />
- </target>
- </configuration>
- </plugin>
- <plugin>
- <artifactId>maven-clean-plugin</artifactId>
- <configuration>
- <filesets>
- <fileset>
- <directory>${basedir}/../python/build</directory>
- </fileset>
- </filesets>
- <verbose>true</verbose>
- </configuration>
- </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
@@ -438,24 +409,6 @@
</executions>
</plugin>
</plugins>
-
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- </resource>
- <resource>
- <directory>../python</directory>
- <includes>
- <include>pyspark/*.py</include>
- </includes>
- </resource>
- <resource>
- <directory>../python/build</directory>
- <includes>
- <include>py4j/*.py</include>
- </includes>
- </resource>
- </resources>
</build>
<profiles>