Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 README.md
Octocat-spinner-32 pom.xml
README.md

Java Webapp Archetype

A maven archetype to create a RESTful Jersey/Guice/Jackson/Metrics/etc web app.

To install

    $ mvn install

To use

  1. Create project from archetype

      $ mvn archetype:generate -DarchetypeGroupId=com.shanealmanek -DarchetypeArtifactId=java-webapp-archetype -DarchetypeVersion=1.0
    
  2. Start the server

     $ mvn tomcat:run
    
  3. Check it works

     $  curl "http://localhost:8080/${artifactId}"
     (where ${artifactId} is the artifact id you specified in the interative generation)
    
Something went wrong with that request. Please try again.