Get started quickly with Spring 5 using Spring MVC Archetype

Spring 5 GA got released so I released the new version of Spring MVC Archetype.

Create a project

To create a really basic application using the archetype simply run the following command in your shell:

    mvn archetype:generate \
        -DarchetypeGroupId=pl.codeleak \
        -DarchetypeArtifactId=spring-mvc-quickstart \
        -DarchetypeVersion=5.0.0 \
        -DgroupId=my.groupid \
        -DartifactId=my-artifactId \
        -Dversion=version \


Spring IO Platform

Since I am using the Spring IO Platform (Brussels-SR5) in my archetype, I needed to manually override Spring version to 5.0.0.RELEASE:


Spring MVC

Spring MVC is built against different version of Jackson, hence Jackson version is overridden as well:



Thymeleaf 3 Support for Spring 5 did not go GA yet, but there is a release candidate in Maven Central that can be used:


Source code

Popular posts from this blog

Parameterized tests in JavaScript with Jest