Return-Path: X-Original-To: apmail-brooklyn-commits-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 80773194FA for ; Thu, 10 Mar 2016 12:53:22 +0000 (UTC) Received: (qmail 65431 invoked by uid 500); 10 Mar 2016 12:53:22 -0000 Delivered-To: apmail-brooklyn-commits-archive@brooklyn.apache.org Received: (qmail 65405 invoked by uid 500); 10 Mar 2016 12:53:22 -0000 Mailing-List: contact commits-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list commits@brooklyn.apache.org Received: (qmail 65314 invoked by uid 99); 10 Mar 2016 12:53:22 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2016 12:53:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 259A9E0098; Thu, 10 Mar 2016 12:53:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: heneveld@apache.org To: commits@brooklyn.apache.org Date: Thu, 10 Mar 2016 12:53:27 -0000 Message-Id: <13edb0d45afc4a23802b9e79a7cb8e08@git.apache.org> In-Reply-To: <39d92fcda4974f61b0c06b6d9db14b94@git.apache.org> References: <39d92fcda4974f61b0c06b6d9db14b94@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [6/9] brooklyn-docs git commit: update for Go dependency and skipping Go update for Go dependency and skipping Go Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/ad9dc2b4 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/ad9dc2b4 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/ad9dc2b4 Branch: refs/heads/master Commit: ad9dc2b48eac029f7dad2e0b94c1842b7a8f98f9 Parents: dd77e93 Author: Alex Heneveld Authored: Thu Mar 10 12:00:44 2016 +0000 Committer: Alex Heneveld Committed: Thu Mar 10 12:00:44 2016 +0000 ---------------------------------------------------------------------- guide/dev/env/ide/index.md | 4 ++-- guide/dev/env/maven-build.md | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad9dc2b4/guide/dev/env/ide/index.md ---------------------------------------------------------------------- diff --git a/guide/dev/env/ide/index.md b/guide/dev/env/ide/index.md index 60ad11d..94bbfba 100644 --- a/guide/dev/env/ide/index.md +++ b/guide/dev/env/ide/index.md @@ -12,7 +12,7 @@ But with a bit of a dance the IDE can still be your friend, making it much easier to run tests and debug. As a general tip, don't always trust the IDE to build correctly; if you hit a snag, -do a command-line ``mvn clean install`` (optionally with ``-DskipTests``) +do a command-line ``mvn clean install`` (optionally with ``-DskipTests`` and/or ``-Dno-go-client``) then refresh the project. See instructions below for specific IDEs. @@ -41,7 +41,7 @@ If you encounter issues, the following hints may be helpful: You can manually mark as permanently ignored certain errors; this updates the pom.xml (and should be current). -* A quick command-line build (`mvn clean install -DskipTests`) followed by a workspace refresh +* A quick command-line build (`mvn clean install -DskipTests -Dno-go-client`) followed by a workspace refresh can be useful to re-populate files which need to be copied to `target/` * m2e likes to put `excluding="**"` on `resources` directories; if you're seeing funny missing files http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/ad9dc2b4/guide/dev/env/maven-build.md ---------------------------------------------------------------------- diff --git a/guide/dev/env/maven-build.md b/guide/dev/env/maven-build.md index 8489658..2f01899 100644 --- a/guide/dev/env/maven-build.md +++ b/guide/dev/env/maven-build.md @@ -6,7 +6,7 @@ toc: /guide/toc.json ## The Basics -To build the code, you need Maven (v3) installed and Java (v1.7+). +To build the code, you need Maven (v3.1+) and Java (v1.7+, 1.8 recommended) and Go (v1.6+). With that in place, you should be able to build everything with a: {% highlight bash %} @@ -23,10 +23,12 @@ Key things to note if you're new to Maven: * Add ``-DskipTests`` to skip tests. +* Add ``-Dno-go-client`` to skip building the ``brooklyn-client`` project (useful if you don't have Go installed). + * Run ``-PIntegration`` to run integration tests, or ``-PLive`` to run live tests ([tests described here](../code/tests.html)) -* Nearly all the gory details are in the root ``pom.xml``, which is referenced by child project poms. +* Note that many of the gory details are in ``brooklyn-server/parent/pom.xml``, which is referenced by most other poms. * You can also open and use the code in your favourite IDE, although you may hit a few **[snags](ide/)**