Added failure when doc creation fails, and added path to the node that the plugin has installed, this means you don't need node installed on the system to use gitbook
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f9538faf Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f9538faf Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f9538faf Branch: refs/heads/master Commit: f9538fafd63dc071a1ce85cd515f0d9e7efab2f7 Parents: 00740b1 Author: Paul Gallagher <[email protected]> Authored: Mon Apr 25 11:41:16 2016 +0100 Committer: Martyn Taylor <[email protected]> Committed: Mon Apr 25 15:11:32 2016 +0100 ---------------------------------------------------------------------- artemis-website/pom.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f9538faf/artemis-website/pom.xml ---------------------------------------------------------------------- diff --git a/artemis-website/pom.xml b/artemis-website/pom.xml index d462411..3d101c7 100644 --- a/artemis-website/pom.xml +++ b/artemis-website/pom.xml @@ -174,14 +174,16 @@ <!-- lets generate the gitbook --> <mkdir dir="${webapp-outdir-user-manual}" /> <echo>executing ${gitbook.cmd}</echo> - <exec executable="${gitbook.cmd}"> + <exec executable="${gitbook.cmd}" failonerror="true"> + <env key="PATH" path="${basedir}/node"/> <arg value="build" /> <arg value="${basedir}/../docs/user-manual/en" /> <arg value="${webapp-outdir-user-manual}" /> </exec> <mkdir dir="${webapp-outdir-hacking-guide}" /> <echo>executing ${gitbook.cmd}</echo> - <exec executable="${gitbook.cmd}"> + <exec executable="${gitbook.cmd}" failonerror="true"> + <env key="PATH" path="${basedir}/node"/> <arg value="build" /> <arg value="${basedir}/../docs/hacking-guide/en" /> <arg value="${webapp-outdir-hacking-guide}" />
