Skip to content
sarxos edited this page Feb 7, 2013 · 2 revisions

How To Build

Below is a simple instruction of how to build Webcam Capture project.

Prerequisites

Below points are required to build Webcam Capture project:

  • Git installed and available in $PATH,
  • Maven installed and available in $PATH,

Checkout The Code

Clone Webcam Capture Github repository:

$ git clone git://github.com/sarxos/webcam-capture.git
$ cd webcam-capture

Build JARs

$ mvn clean install

Ignore next point if you need JARs only (without ZIP files).

Build ZIPs

$ mvn clean package -P assembly

Where Are The Build Artifacts

Build artifacts (JARs, ZIPs, etc) are located in target directory under each sub-project folder. E.g. path to the main Webcam Capture JAR will be:

webcam-capture/webcam-capture/target/webcam-capture-[version]-SNAPSHOT.jar

And ZIP will be:

webcam-capture/webcam-capture/target/webcam-capture-[version]-SNAPSHOT-dist.zip

Same for example projects.