Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

SourceSetup

Christian Gendreau edited this page Jul 10, 2014 · 20 revisions

Local dependencies

The Canadensys Harvester relies on 2 components that are not yet available in a central repository. You would need to clone them and install them locally:

canadensys-data-access

Latest version:

git clone [email protected]:Canadensys/canadensys-data-access.git
cd canadensys-data-access
mvn install

You may have to use a specific version:

git checkout tags/<tag_name>
mvn install

where <tag_name> is the version number of the canadensys-data-access.

If you don't know which version to use, please refer to the data-access.version variable in the file canadensys-harvester-lib/pom.xml.

narwhal-processor

git clone [email protected]:Canadensys/narwhal-processor.git
cd narwhal-processor
mvn install

The project

Checkout the code:

git clone [email protected]:Canadensys/canadensys-harvester.git

The Canadensys Harvester is split into 3 modules:

  • canadensys-harvester-lib
  • canadensys-harvester-ui
  • canadensys-harvester-node

Create an Eclipse project:

mvn eclipse:eclipse

Build the application

mvn clean package

The resulting jar(s) will be:

  • UI in canadensys-harvester-ui/target folder.
  • Node in canadensys-harvester-node/target folder. To run the application on another machine, you will need the node jar file, the lib and the config folder.

Alternatively, you might want to only build the canadensys-harvester-lib to include it in your project:

mvn --projects canadensys-harvester-lib clean package
Clone this wiki locally