Fixes instructions for building Brooklyn
diff --git a/README.md b/README.md
index e345bf6..696b082 100644
--- a/README.md
+++ b/README.md
@@ -25,9 +25,9 @@
And then, with jdk 1.8+ and maven 3.1+ installed:
- mvn clean install -Dno-go-client -Dno-rpm -Dno-deb -DskipDocker
+ mvn clean install
-However, you won't be able to build the RPM/DEB packages, as well as the CLI. That's why we would recommand to use the
+However, this will not build the RPM/DEB packages, as well as the CLI. That's why we would recommand to use the
alternative: a docker container to build this project:
```bash
@@ -36,7 +36,7 @@
--mount type=bind,source="${HOME}/.m2/settings.xml",target=/var/maven/.m2/settings.xml,readonly \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${PWD}:/usr/build -w /usr/build \
- brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un)
+ brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un) -Drpm -Ddeb -Dclient -Ddocker
```
You can speed this up by using your local .m2 cache:
@@ -45,7 +45,7 @@
-v /var/run/docker.sock:/var/run/docker.sock \
-v ${HOME}/.m2:/var/maven/.m2 \
-v ${PWD}:/usr/build -w /usr/build \
- brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un)
+ brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un) -Drpm -Ddeb -Dclient -Ddocker
```
The results are in `brooklyn-dist/dist/target/`, including a tar and a zip.