2016-11-28 13:29:37 -05:00
|
|
|
<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.baeldung</groupId>
|
2016-12-16 03:58:13 -05:00
|
|
|
<artifactId>spring-mvc-simple</artifactId>
|
2016-11-28 13:29:37 -05:00
|
|
|
<packaging>war</packaging>
|
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
2016-12-16 03:58:13 -05:00
|
|
|
<name>Spring MVC simple Maven Webapp</name>
|
2016-11-28 13:29:37 -05:00
|
|
|
<url>http://maven.apache.org</url>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<springframework.version>4.3.4.RELEASE</springframework.version>
|
|
|
|
<maven-compiler-plugin.version>3.5.1</maven-compiler-plugin.version>
|
|
|
|
<maven-war-plugin.version>2.6</maven-war-plugin.version>
|
2017-03-21 06:24:57 -04:00
|
|
|
<jstl.version>1.2</jstl.version>
|
|
|
|
<javax.servlet.jsp-api.version>2.3.1</javax.servlet.jsp-api.version>
|
|
|
|
<javax.servlet-api.version>3.1.0</javax.servlet-api.version>
|
|
|
|
<maven-compiler-plugin.source>1.8</maven-compiler-plugin.source>
|
|
|
|
<hibernate-validator.version>5.3.3.Final</hibernate-validator.version>
|
|
|
|
<deploy-path>enter-location-of-server</deploy-path>
|
|
|
|
<fileupload.version>1.3.2</fileupload.version>
|
2016-11-28 13:29:37 -05:00
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<version>3.1.0</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-logging</groupId>
|
|
|
|
<artifactId>commons-logging</artifactId>
|
|
|
|
<version>1.2</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
</dependency>
|
2017-03-21 06:24:57 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet.jsp</groupId>
|
|
|
|
<artifactId>javax.servlet.jsp-api</artifactId>
|
|
|
|
<version>${javax.servlet.jsp-api.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>jstl</artifactId>
|
|
|
|
<version>${jstl.version}</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.hibernate</groupId>
|
|
|
|
<artifactId>hibernate-validator</artifactId>
|
|
|
|
<version>${hibernate-validator.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-webmvc</artifactId>
|
|
|
|
<version>${springframework.version}</version>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>commons-fileupload</groupId>
|
|
|
|
<artifactId>commons-fileupload</artifactId>
|
|
|
|
<version>${fileupload.version}</version>
|
|
|
|
</dependency>
|
2016-11-28 13:29:37 -05:00
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
|
|
<pluginManagement>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>${maven-compiler-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.7</source>
|
|
|
|
<target>1.7</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-war-plugin</artifactId>
|
|
|
|
<version>${maven-war-plugin.version}</version>
|
|
|
|
<configuration>
|
|
|
|
<warSourceDirectory>src/main/webapp</warSourceDirectory>
|
2016-12-16 03:58:13 -05:00
|
|
|
<warName>springMvcSimple</warName>
|
2016-11-28 13:29:37 -05:00
|
|
|
<failOnMissingWebXml>false</failOnMissingWebXml>
|
2017-03-21 06:24:57 -04:00
|
|
|
<outputDirectory>${deploy-path}</outputDirectory>
|
2016-11-28 13:29:37 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</pluginManagement>
|
2016-12-16 03:58:13 -05:00
|
|
|
<finalName>springMvcSimple</finalName>
|
2016-11-28 13:29:37 -05:00
|
|
|
</build>
|
|
|
|
</project>
|