-
Notifications
You must be signed in to change notification settings - Fork 443
Building Exhibitor
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.
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.
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.
Contents
- Top
- Standalone Version
- WAR File
- Core/Library
- Features
- Shared Configuration
- Using Exhibitor
- REST API
- Contributions