Overview

WAR Bootstrap

Environment

Usage

# generate a new WAR bootstrap
mvn archetype:generate \
    -DarchetypeGroupId=org.duelengine \
    -DarchetypeArtifactId=war-bootstrap-archetype \
    -DarchetypeVersion=0.3.1

# build your boostrap
# NOTE: replace "bootstrap" with your chosen project name
cd bootstrap; mvn package; cd ..

# run the resulting WAR on the test bootstrap
# NOTE: again replace with your chosen artifact names
java -jar bootstrap/target/bootstrap.jar -p 8080 --jetty -war /myapp='path/to/myapp.war'