commit | b3c975956fc508fb0a8d2828cf7342ad50e9cdca | [log] [tgz] |
---|---|---|
author | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Dec 05 10:24:34 2019 +0000 |
committer | Thomas Bouron <thomas.bouron@cloudsoftcorp.com> | Thu Dec 05 10:24:34 2019 +0000 |
tree | 1c0f11c5389c5334a553b9190be02b0fc0738580 | |
parent | 51f34ab42e15232bb15795350eecf0c2b57c957a [diff] |
Reuse local maven cache + add PR comment trigger
This repo contains the core elements to run a Brooklyn server, from the API and utils through to the core implementation and the REST server.
2 methods are available to build this project: within a docker container or directly with maven.
The project comes with a Dockerfile
that contains everything you need to build this project. First, build the docker image:
docker build -t brooklyn:server .
Then run the build:
docker run -i --rm --name brooklyn-server -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:server mvn clean install
Simply run:
mvn clean install