From 2b151b6b93e7ef747c625d3a2b0f0732039de3b8 Mon Sep 17 00:00:00 2001 From: Mark Grover <mark@apache.org> Date: Mon, 18 Apr 2016 17:44:42 -0700 Subject: [PATCH] [SPARK-14711][BUILD] Examples jar not a part of distribution. ## What changes were proposed in this pull request? Move the spark-examples.jar from being in examples/target to examples/target/scala-2.11/jars ## How was this patch tested? Built distribution to make sure examples jar was being included in the tarball. Ran run-example to make sure examples were run. Author: Mark Grover <mark@apache.org> Closes #12476 from markgrover/spark-14711. --- examples/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/examples/pom.xml b/examples/pom.xml index 4a20370f06..fcd60e3b77 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -297,6 +297,13 @@ <skip>true</skip> </configuration> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <outputDirectory>${jars.target.dir}</outputDirectory> + </configuration> + </plugin> </plugins> </build> <profiles> -- GitLab