Create Spring web app.

source: http://www.programcreek.com/2014/02/spring-mvc-helloworld-using-maven-in-eclipse/
This commit is contained in:
Camille31
2016-11-13 18:37:26 +01:00
parent 0e1c54c60a
commit b1dd0dd0bb
6 changed files with 153 additions and 0 deletions

45
pom.xml Normal file
View File

@@ -0,0 +1,45 @@
<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.camillepradel.movierecommender</groupId>
<artifactId>MovieRecommender</artifactId>
<packaging>war</packaging>
<version>0.0.1-SNAPSHOT</version>
<name>MovieRecommender Maven Webapp</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>4.3.1.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- Spring 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>MovieRecommender</finalName>
</build>
</project>