Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Java
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/main/resources
README.md
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.