summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rwxr-xr-xbootstrap.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 9855a35260f..97c4bf69bc3 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,7 @@ You can also setup CentOS 7 natively and install the following build dependencie
### Build Java modules
export MAVEN_OPTS="-Xms128m -Xmx512m"
+ source /opt/rh/rh-maven33/enable
bash bootstrap.sh java
mvn -T <num-threads> install
diff --git a/bootstrap.sh b/bootstrap.sh
index 075da74b7c7..d0593eb1dee 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -5,6 +5,8 @@ usage() {
echo "Usage: $0 [full | java | default]" >&2
}
+source /opt/rh/rh-maven33/enable
+
if [ $# -eq 0 ]; then
# Build minimal set of java modules required to run cmake
MODE=default