aboutsummaryrefslogtreecommitdiff
path: root/docs/building-spark.md
diff options
context:
space:
mode:
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