Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 1.44 KB

README.creole

File metadata and controls

24 lines (18 loc) · 1.44 KB

Building from Source at the Command Line

Prerequisites

The Turmeric project uses Maven 3.0 as a build tool and Git as the source code repository. It also requires Java 6.0. You must install them before performing this task. These instructions assume that you are running from the command line.

  • Apache Maven 3.0 installed.
  • Java 6.0

How can I build a local copy of the Monitoring component?

  1. Download a copy of the Maven settings.xml file and install in your local Maven repository.
    1. Optionally you may store the settings.xml in another directory and specify -s <pathtosettings.xml> as part of your build.
    2. For Linux users this is under your home directory, in a hidden directory called .m2.
    3. For more information about settings.xml please visit the Maven Reference page.
  2. Clone a copy of the Monitoring source code. git clone git://github.com/ebayopensource/turmeric-monitoring.git
  3. Make sure you have an active Internet connection, which the build requires to download all required dependencies.
  4. Once you have checked out the files, change to the directory where you checked the files out, and you can start a build by running:mvn clean install
  5. Unit tests run during the build. To skip these tests, use the following command instead:mvn clean install -DskipTests=true

The build takes 15 to 25 minutes.