Github user ahgittin commented on the pull request:
https://github.com/apache/brooklyn-dist/pull/13#issuecomment-194837203
this is a good question. we hesitated before requiring `go`, in the end we
tentatively concluded:
* the default build *does* build everything
* a maven property allows some parts easily to be skipped, e.g.
`-Dno-go-client` (see in uber's `pom`)
* if you're missing a requirement we show a nice error message (see in
brooklyn-client `release/build.sh`) explaining
* how to fix
* how to skip
@alrick87 if you `grep -r no-go-client` you should find all the references
to
* go being required
* being able to skip it
suggest we do the same for docker images, rpm/deb, eventually npm, anything
which isn't pure java.
if we start to have a lot then it might be easier to introduce a
`just-java` property which also disables the non-portable build items and
simply document that in the "quick build" instructions, with a reference from
there to the `maven-build` docs where we detail the properties.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---