/simple-scalatra-archetype

Not Actively Maintained - Apache Maven archetype to generate a simple Scalatra webapp

Primary LanguageScala

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://github.com/Srirangan/simple-scalatra-archetype.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 -DgroupId=just.some.group -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