Skip to content

How To Build nGrinder from scratch using Maven

geunwoo son edited this page Jun 13, 2016 · 5 revisions

This document discusses how Maven can be used to build nGrinder. For the sake of simplicity, we are assuming this entire Configuration will be operated on Linux. First, JDK (version 7) or later, Git 1.7.8 and Maven 3.0.4 will be installed.

1. Clone nGrinder Project from Github

just use the command to clone the nGrinder project from Github

git clone https://github.com/naver/ngrinder.git
$ git clone https://github.com/naver/ngrinder.git
Cloning into 'ngrinder'...
remote: Counting objects: 26998,done.
remote: Compressing objects: 100% (10897/10897),done.
Receiving objects: 1% (364/26998), 76.00 KiB | 10 KiB/s

It may takes several minutes to do this.

$ ls ngrinder/
docs docker ngrinder-core ngrinder-dns ngrinder-controller
README.md pom.xml release_note.txt ....

Look ! nGrinder codes already in Local !

and Run scripts for the dependent libraries download.

$ cd ngrinder

// linux user
$ install_maven_lib.sh

// windows user
$ install_maven_lib.bat

Now I just need built over.

2. Build nGrinder

Let`s start using Maven to build an nGrinder project. It is quite simple ! Just execute the following command in the ngrinder folder.

$mvn compile -Dmaven.test.skip=true

or

$mvnw compile -Dmaven.test.skip=true # when you don't have maven.

-Dmaven.test.skip=true Use this to skip the test case in order to save time.

if want to generate war and jar files ,please use "package" instead of "compile".

Building nGrinder is complete!

Clone this wiki locally