You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/07/27 18:47:56 UTC

[GitHub] jihoonson commented on a change in pull request #6052: Update development/build.md with detailed build & test directions

jihoonson commented on a change in pull request #6052: Update development/build.md with detailed build & test directions
URL: https://github.com/apache/incubator-druid/pull/6052#discussion_r205864672
 
 

 ##########
 File path: docs/content/development/build.md
 ##########
 @@ -2,28 +2,70 @@
 layout: doc_page
 ---
 
-### Build from Source
-
-You can build Druid directly from source. Please note that these instructions are for building the latest stable of Druid. 
+You can build Druid directly from source. Please note that these instructions are for building the latest stable version of Druid.
 For building the latest code in master, follow the instructions [here](https://github.com/druid-io/druid/blob/master/docs/content/development/build.md).
 
+# Requirements
+
 Building Druid requires the following:
-- [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
-- [Maven version 3.x](http://maven.apache.org/download.cgi)
 
-To do so, run these commands:
+- [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)+
+- [Maven 3.x](http://maven.apache.org/download.cgi)+
+
+# Building
+
+## Build a runtime distribution
+
+Move to the project root directory and run:
+
+```
+mvn clean package -DskipTests
+```
+
+This will compile the project and create the Druid binary distribution tarball under `distribution/target/druid-VERSION-bin.tar.gz`
+and `mysql-metadata-storage` extension under `distribution/target/mysql-metadata-storage-bin.tar.gz`.
+
+- For more information on `mysql-metadata-storage` extension, see [here](../development/extensions-core/mysql.html).
+- For more information on including extensions, see [here](../operations/including-extensions.html).
+
+## Build javadoc
+
+```
+mvn install -DskipTests && mvn javadoc:javadoc
 
 Review comment:
   `mvn javadoc:javadoc` doesn't work. I don't think we need to include this because we don't publish javadoc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org