Menu

Build and Install Guide

Dušan Rychnovský Mifeet

This document describes the steps needed to build the project. Make sure that either your development environment is ready or that you have correctly downloaded the project as a guest.


1]

Move to the localy cloned SourceForge GIT repository.

2]

Checkout the correct branch, currently prototype.

3]

Move to the project root directory (e.g. /odcleanstore).

4]

Issue Maven build, e.g. type the following command:

mvn clean package

5]

Your project copy should now be successfuly built.

Maven profiles

There are two profiles in addition to the default one in the root maven configuration file (pom.xml).

  • Profile javadoc - enables generation of javadoc (which is disabled in the default profile).
  • Profile systest - enables unit tests in systest/ subdirectories, which test functionality related to database. In order to run these tests, a new Virtuoso instance with settings as in /data/virtuoso_configuration/virtuoso.ini-test must be set up first (see Virtuoso installation guide )

Maven build for the selected profile can be executed with command line option -P:

mvn clean package -P javadoc
mvn clean package -P systest