Skip to content

Latest commit

 

History

History
34 lines (17 loc) · 867 Bytes

README.md

File metadata and controls

34 lines (17 loc) · 867 Bytes

Scalatra Maven Prototype

Updated to run against Scalatra 2.2.1 and Scala 2.10.2

Also uses the new recommended ScalatraBootstrap/Lifecyle

scalatra-maven-prototype is a port of scalatra-sbt-prototype as an Apache Maven project.

scalatra-sbt-prototype is the defacto getting started example for the Scalatra framework. It uses SBT, which is great. This is its port to Apache Maven.

Why Apache Maven? So that your Scalatra project plays nice with your existing Maven infrastructure.

Getting started

  1. Clone this repository:

     git clone git://github.com/fancellu/scalatra-maven-prototype.git my-app
    
  2. Change directory into your clone:

     cd my-app
    
  3. Maven build

     mvn install
    
  4. Start Jetty

     mvn jetty:run
    
  5. Go to http://localhost:8080/my

Learn more about Scalatra