This is a minimalist java web project using maven as build tool and springmvc as web framework.
To build this project you must install Maven. If you don't have it, please refer to: http://maven.apache.org/
-
Clone this repo.
$ git clone git@github.com:leoluz/java-web-template.git -
At project root directory run:
$ mvn install
A war file will be generated at <project-home>/template-web/target/template-web-0.0.1-SNAPSHOT.war.
-
Go inside the web module:
$ cd template-web -
Start jetty:
$ mvn jetty:run