aboutsummaryrefslogtreecommitdiff
path: root/external/java8-tests/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'external/java8-tests/README.md')
-rw-r--r--external/java8-tests/README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/external/java8-tests/README.md b/external/java8-tests/README.md
index dc9e87f2ee..aa87901695 100644
--- a/external/java8-tests/README.md
+++ b/external/java8-tests/README.md
@@ -8,16 +8,14 @@ to your Java location. The set-up depends a bit on the build system:
`-java-home` to the sbt launch script. If a Java 8 JDK is detected sbt will automatically
include the Java 8 test project.
- `$ JAVA_HOME=/opt/jdk1.8.0/ build/sbt clean "test-only org.apache.spark.Java8APISuite"`
+ `$ JAVA_HOME=/opt/jdk1.8.0/ build/sbt clean java8-tests/test
* For Maven users,
- Maven users can also refer to their Java 8 directory using JAVA_HOME. However, Maven will not
- automatically detect the presence of a Java 8 JDK, so a special build profile `-Pjava8-tests`
- must be used.
+ Maven users can also refer to their Java 8 directory using JAVA_HOME.
`$ JAVA_HOME=/opt/jdk1.8.0/ mvn clean install -DskipTests`
- `$ JAVA_HOME=/opt/jdk1.8.0/ mvn test -Pjava8-tests -DwildcardSuites=org.apache.spark.Java8APISuite`
+ `$ JAVA_HOME=/opt/jdk1.8.0/ mvn -pl :java8-tests_2.11 test`
Note that the above command can only be run from project root directory since this module
depends on core and the test-jars of core and streaming. This means an install step is