Building Exhibitor

Jordan Zimmerman edited this page Mar 4, 2015 · 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 clean package

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

> java -jar target/exhibitor-1.0.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 shadowJar

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

> java -jar build/libs/exhibitor-XXXX-all.jar --help

NOTE: the jar name may be different.

You should see help for the Exhibitor command line options.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.