Is there a maven 2 archetype for spring 3 MVC applications?

I am experimenting with the spring 3 MVC framework. Since I use maven 2 to manage my project, I am looking for an archetype to create a spring 3 MVC application.

+61
spring spring-mvc maven-2 maven-archetype
May 03 '10 at 10:00
source share
10 answers

You can use STS (spring toolkit), a new spring MVC template project creates a working application using spring 3.

Or you can use Spring Roo to create a working foundation for your project.

+30
May 03 '10 at 18:35
source share

I also could not find useful archetypes, so I created my own. Here you can find. If you find anything you want to add, please feel free to email me or send a patch

+20
Nov 03 '10 at 16:12
source share

Spring MVC quickstart archetype is available on GitHub, courtesy of kolorobot . Good instructions are provided on how to install it on your local Maven repository and use it to create a new Spring MVC project. He even included the Tomcat 7 Maven plugin in an archetypal project, so that the newly created Spring MVC can be run from the command line without having to manually deploy it to the application server.

The Kolorobots sample application includes the following:

  • No-xml Spring MVC 3.2 Web Application for Servlet 3.0
  • In-place Apache tiles
  • Bootstrap
  • JPA 2.0 (Hibernate / HSQLDB)
  • Junit / mockito
  • Spring Security 3.1
+8
Aug 05 '13 at 1:24
source share

AppFuse and AppFuse Light have been updated to use Spring 3, so I think you could use one of the appfuse archetypes .

But what is a Spring MVC application, if not a regular webapp with some dependencies on Spring 3 artifacts?

+7
May 03 '10 at 11:33
source share

From the springsource forum :

In the Spring Source Tool Suite.

Go to New β†’ Other β†’ Spring Source Toolbox β†’ Spring Template Project β†’ Spring MVC Project

enter the data and click "Finish."

+3
Jun 05 2018-11-11T00:
source share

Codehaus The Maven user archetype list contains several archetypes, including two of the plugins for applications that use Spring MVC.

+1
Aug 29 '11 at 9:59 a.m.
source share

This archetype creates a Java web application that uses the Spring MVC framework, Angular, and Event Sourcing.

mvn archetype:generate \ -DarchetypeGroupId=no.bouvet \ -DarchetypeArtifactId=maven-archetype-eventsourcing \ -DarchetypeVersion=1.0.2 \ -DgroupId=com.domain.myapp \ -DartifactId=myapp 

Here you can find the source - maven-archetype-eventsourcing

And read blogg - Get your one-line Sourced Sourced web application development using Maven!

+1
Jul 02 '14 at 6:45
source share

My friend and I created this spring plate for SPA applications. Maybe you will find it useful https://github.com/PabloK/SpringRESTboilerplate

0
May 30 '13 at 10:39
source share

I am creating a new Spring project and one of the options available in STS Simple Spring Web Maven; it installs Spring 3 Maven webapp, just change pom to Spring 4 and do a clean install from Run Config.

0
Sep 10 '15 at 16:50
source share

As far as I know, it does not exist. But why didn’t you create your own?

-one
May 03 '10 at 11:04 a.m.
source share



All Articles