From 02fdb56d618b49da3621079bcb28b40dee17b9c8 Mon Sep 17 00:00:00 2001 From: Xylus Date: Wed, 14 Jan 2015 12:01:53 +0900 Subject: [PATCH] Added build section for installation guide. --- doc/installation.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/installation.md b/doc/installation.md index ac70e1b74..fb97b52b1 100644 --- a/doc/installation.md +++ b/doc/installation.md @@ -42,6 +42,34 @@ To run these scripts, feed them into the HBase shell like below: See [here](../scripts/) for a complete list of scripts. +## Building Pinpoint +In order to build Pinpoint, the following requirements must be met: + +* JDK 7+ installed +* Maven installed +* JAVA_7_HOME environment variable set to JDK 7 installation directory. + +JDK 7+ and JAVA_7_HOME environment variable are required to build **profiler-optional**. For more information about the optional package, please take a look [here](../profiler-optional/README.md). + +Once the above requirements are met, simply run the command below : + +`mvn install -Dmaven.test.skip=true` + +**Building Separately** - If you choose to build each module separately (without the optional package), you may do so with JDK 6. The reactor build order is given below: + +``` +pinpoint-thrift +pinpoint-commons +pinpoint-bootstrap-core +pinpoint-bootstrap +pinpoint-rpc +pinpoint-profiler +(pinpoint-profiler-optional) +pinpoint-agent-distribution +pinpoint-collector +pinpoint-web +``` + ## Pinpoint Collector Download the **latest release** of Pinpoint Collector from GitHub (WIP) or **build pinpoint-collector** manually from the Git clone using `mvn package`. Either way, you should end up with the following **war** file that can be deployed to a web container.