If this project saved your time, then you can buy me a beer:
The project is a Maven archetype for Spring MVC 4 web application. This archetype doesn't have any js and css (only configuration for thymeleaf). If you need full blown spring mvc archetype based on Spring JavaConfig, then I strongly encourage you to visit https://github.com/kolorobot/spring-mvc-quickstart-archetype
Main goal for me was to create full working server side archetype based on spring, hibernate and thymeleaf. Whole spring configuration is defined in xml files.
- In next iteration I will add some tests.
- Improve documentation
- maybe version for jetty?
- Spring platform (ioc, web, test, orm, data jpa)
- javax.servlet-api
- logback-classic
- junit
- mockito
- hikori
- thymeleaf
- hibernate-entitymanager
- h2
To install the archetype in your local repository execute following commands:
git clone https://github.com/jhrom/spring-web-xml-archetype.git
cd spring-web-xml-archetype
mvn clean install
mvn archetype:generate \
-DarchetypeGroupId=com.github.jhrom.archetypes \
-DarchetypeArtifactId=spring-web-xml-archetype \
-DarchetypeVersion=5.0.0 \
-DgroupId=my.groupid \
-DartifactId=artifactId \
-Dversion=version \
-DinteractiveMode=false
mvn jetty:run
http://localhost:8080/
(currently ony index page is available)