summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeir Storli <geirstorli@yahoo.no>2017-08-29 14:43:40 +0200
committerGitHub <noreply@github.com>2017-08-29 14:43:40 +0200
commita9eff2e9644c47281a391881dad594643b6ea5a0 (patch)
tree78e0f7a1cd480bbb62cdfda325856deb6ee6435f
parent160d3ebf7c456993aefdb955043d35346c1ef8e0 (diff)
parentaa9643cc62a70ad8094b1bd845a01365a5ee49da (diff)
Merge pull request #3244 from vespa-engine/bjorncs/readme-1
Improve documentation on building the Java
-rw-r--r--README.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index f934f16f011..866eb39bede 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Code licensed under the Apache 2.0 license. See [LICENSE](LICENSE) for terms.
## Get started developing
### Setup build environment
-C++ building is supported on CentOS 7.
+C++ building is supported on CentOS 7. The Java source can be built on any platform having Java 8 and Maven installed.
We recommend using the following environment: [Create C++ dev environment on CentOS using VirtualBox and Vagrant](vagrant/README.md).
You can also setup CentOS 7 natively and install the following build dependencies:
@@ -25,10 +25,9 @@ You can also setup CentOS 7 natively and install the following build dependencie
yum-builddep -y <vespa-source>/dist/vespa.spec
### Build Java modules
-Java modules can be built on any environment having Java 8 and Maven:
sh bootstrap.sh
- mvn install
+ mvn -T <num-threads> install
### Build C++ modules
Replace `<build-dir>` with the name of the directory in which you'd like to build Vespa.