Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 959 Bytes

Simple Scalatra Archetype

An Apache Maven archetype to generate a simple Scalatra webapp. This archetype is based on the scalatra-maven-prototype.

Quick Start

  1. This archetype has not been published on Maven central repositories hence you need to clone this project and install it in your local repository before using the archetype. git clone git:// simple-scalatra-archetype cd simple-scalatra-archetype mvn install

  2. Generate your Scalatra project mvn archetype:generate -DarchetypeArtifactId=simple-scalatra-archetype -DarchetypeGroupId=org.scalatra -DarchetypeVersion=1.0-SNAPSHOT -DartifactId=just-some-artifact

  3. Switch to the project directory cd just-some-artifact

  4. Install your project mvn install

  5. Run Jetty webserver mvn jetty:run