Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

Building Exhibitor

dstine edited this page Apr 4, 2013 · 30 revisions

This wiki documents how to build the standalone version of Exhibitor. If you’d prefer to use Exhibitor as a WAR file see this wiki: Building A WAR File. If you need to integrate Exhibitor into an existing application, please see the separate wiki on Integrating Exhibitor.

The standalone version of Exhibitor does not require any additional work, but it must be assembled into an executable JAR. There are several ways to do this. The easiest is to use Maven or Gradle.

Maven

To assemble Exhibitor with Maven:

  • Download this pom file into a new directory.
  • cd into the new directory
  • Edit the pom file if needed
  • From a command prompt enter:
    > mvn assembly:single

Maven should create a directory named “target” and a file named “exhibitor-1.0-jar-with-dependencies.jar”. To test the JAR, enter:

> java -jar target/exhibitor-1.0-jar-with-dependencies.jar --help

NOTE: the jar name may be different.

You should see help for the Exhibitor command line options.

Gradle

To assemble Exhibitor with Gradle:

  • Download this build file into a new directory.
  • cd into the new directory
  • Edit the file if needed
  • From a command prompt enter:
    > gradle jar

Gradle should create a directory named “build/libs” and a file named “exhibitor-1.0.jar”. To test the JAR, enter:

> java -jar build/libs/exhibitor-1.0.jar --help

NOTE: the jar name may be different.

You should see help for the Exhibitor command line options.