aboutsummaryrefslogtreecommitdiff
path: root/docs/building-spark.md
diff options
context:
space:
mode:
authorJean-Baptiste Onofré <jbonofre@apache.org>2015-10-08 11:38:39 +0100
committerSean Owen <sowen@cloudera.com>2015-10-08 11:38:39 +0100
commit60150cf00a70e684d2cad864ab055ad53106938b (patch)
tree4a970606b2ab6d657385dfed13321c4fe8afd29b /docs/building-spark.md
parentcd28139c9b31201d54ee34b72da24417ece029f7 (diff)
downloadspark-60150cf00a70e684d2cad864ab055ad53106938b.tar.gz
spark-60150cf00a70e684d2cad864ab055ad53106938b.tar.bz2
spark-60150cf00a70e684d2cad864ab055ad53106938b.zip
[SPARK-10883] Add a note about how to build Spark sub-modules (reactor)
Author: Jean-Baptiste Onofré <jbonofre@apache.org> Closes #8993 from jbonofre/SPARK-10883-2.
Diffstat (limited to 'docs/building-spark.md')
-rw-r--r--docs/building-spark.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/building-spark.md b/docs/building-spark.md
index 4db32cfd62..4d929ee10a 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -144,6 +144,17 @@ The ScalaTest plugin also supports running only a specific test suite as follows
mvn -Dhadoop.version=... -DwildcardSuites=org.apache.spark.repl.ReplSuite test
+# Building submodules individually
+
+It's possible to build Spark sub-modules using the `mvn -pl` option.
+
+For instance, you can build the Spark Streaming module using:
+
+{% highlight bash %}
+mvn -pl :spark-streaming_2.10 clean install
+{% endhighlight %}
+
+where `spark-streaming_2.10` is the `artifactId` as defined in `streaming/pom.xml` file.
# Continuous Compilation