A maven archetype to create a RESTful Jersey/Guice/Jackson/Metrics/etc web app.
$ mvn install
-
Create project from archetype
$ mvn archetype:generate -DarchetypeGroupId=com.shanealmanek -DarchetypeArtifactId=java-webapp-archetype -DarchetypeVersion=1.0
-
Start the server
$ mvn tomcat:run
-
Check it works
$ curl "http://localhost:8080/${artifactId}" (where ${artifactId} is the artifact id you specified in the interative generation)