You can create a project using the web archetype:
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp
Then add spring as a dependency in the generated pom.xml to get the spring banners:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.6</version>
</dependency>
You can follow spring tutorials.
You will need to upgrade the original version of java to 1.5 in pom for annotations, etc., it describes how to do this on the maven site.
source
share