diff --git a/README.md b/README.md index adb630fe1d6cf..4276c04f975e5 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,16 @@ To build the Javadoc for all Java and Scala classes: mvn clean javadoc:aggregate -Pjavadocs ``` +### Build with Scala 2.12 + +The default Scala version supported is 2.11. To build for Scala 2.12 version, after code checkout run dev/change-scala-version.sh +and build using `scala-2.12` profile + +``` +dev/change-scala-version 2.12 +mvn clean package -DskipTests -DskipITs -Pscala-2.12 +``` + ## Quickstart Please visit [https://hudi.apache.org/quickstart.html](https://hudi.apache.org/quickstart.html) to quickly explore Hudi's capabilities using spark-shell.