update to Go modules - add go.mod and fix compilation

See

https://github.com/urfave/cli/blob/09ac54c2/docs/migrate-v1-to-v2.md

for migration instructions for urfave/cli version 2
42 files changed
tree: 15e6775dbd5904fa2e16cc8dc571c02e74cfe78c
  1. .mvn/
  2. cli/
  3. java/
  4. .gitattributes
  5. .gitignore
  6. DEPENDENCIES
  7. Dockerfile
  8. Jenkinsfile
  9. LICENSE
  10. NOTICE
  11. pom.xml
  12. pom.xml.bak
  13. README.md
README.md

Brooklyn

Apache Brooklyn Client Sub-Project

This repo contains the CLI client for Apache Brooklyn. It is written in go and is built for all platform.

Building the project

2 methods are available to build this project: within a docker container or directly with maven.

Using docker

The project comes with a Dockerfile that contains everything you need to build this project. First, build the docker image:

docker build -t brooklyn:client .

Then run the build:

docker run -i --rm --name brooklyn-client -v ${HOME}/.m2:/root/.m2 -v ${PWD}:/usr/build -w /usr/build brooklyn:client mvn clean install

Using maven

Simply run:

mvn clean install