In this video you will find how to create a new Spring MVC project using Maven. You will find a step by step method to create your first Spring using Maven.



Here is my pom.xml :



<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.kunal</groupId>
  <artifactId>demospringmvc</artifactId>
  <packaging>war</packaging>
  <version>0.0.1-SNAPSHOT</version>
  <name>demospringmvc Maven Webapp</name>
  <url>http://maven.apache.org</url>

  <properties>
  <spring.version>3.0.5.RELEASE</spring.version>
  </properties>

  <dependencies>
 
    <!-- Spring 3 dependencies -->
  <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-core</artifactId>
   <version>${spring.version}</version>
  </dependency>

  <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-web</artifactId>
   <version>${spring.version}</version>
  </dependency>

  <dependency>
   <groupId>org.springframework</groupId>
   <artifactId>spring-webmvc</artifactId>
   <version>${spring.version}</version>
  </dependency>
 
  </dependencies>
  <build>
    <finalName>demospringmvc</finalName>
  </build>
</project>

Thank you. Please comment if you have anything to ask. Like if you find this useful