commit | f140a16c7b13ad500902bf371c97086ff7e82c28 | [log] [tgz] |
---|---|---|
author | Alex Heneveld <alex.heneveld@cloudsoftcorp.com> | Fri Sep 06 09:53:15 2019 +0100 |
committer | Alex Heneveld <alex.heneveld@cloudsoftcorp.com> | Fri Sep 06 09:53:15 2019 +0100 |
tree | 1c699efb10882c872b8a424b6e87eab3c8d67cf9 | |
parent | 0cb54020da34819cc8f7dbfb59fce34b859e4eb3 [diff] |
take build number from submodules' git sha1 instead of the root module, so that the SHA-1 written to manifests accurately reflects the state of the code that built it
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