| 
									
										
										
										
											2016-11-26 17:43:54 +00:00
										 |  |  | <?xml version="1.0"?> | 
					
						
							|  |  |  | <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | 
					
						
							|  |  |  |          xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <modelVersion>4.0.0</modelVersion> | 
					
						
							|  |  |  |     <groupId>com.baeldung</groupId> | 
					
						
							|  |  |  |     <version>0.1-SNAPSHOT</version> | 
					
						
							|  |  |  |     <artifactId>spring-mvc-forms</artifactId> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <name>spring-mvc-forms</name> | 
					
						
							|  |  |  |     <packaging>war</packaging> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <dependencies> | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>org.springframework</groupId> | 
					
						
							|  |  |  |             <artifactId>spring-webmvc</artifactId> | 
					
						
							|  |  |  |             <version>${springframework.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <dependency> | 
					
						
							|  |  |  |             <groupId>javax.servlet</groupId> | 
					
						
							|  |  |  |             <artifactId>javax.servlet-api</artifactId> | 
					
						
							|  |  |  |             <version>${javax.servlet-api.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |         <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> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-01-25 17:59:18 +02:00
										 |  |  |         <dependency> | 
					
						
							|  |  |  |         	<groupId>commons-fileupload</groupId> | 
					
						
							|  |  |  |         	<artifactId>commons-fileupload</artifactId> | 
					
						
							|  |  |  |         	<version>${fileupload.version}</version> | 
					
						
							|  |  |  |         </dependency> | 
					
						
							| 
									
										
										
										
											2017-02-07 06:13:18 +02:00
										 |  |  |          | 
					
						
							| 
									
										
										
										
											2016-11-26 17:43:54 +00:00
										 |  |  |     </dependencies> | 
					
						
							|  |  |  |     <profiles> | 
					
						
							|  |  |  |         <!-- Local --> | 
					
						
							|  |  |  |         <profile> | 
					
						
							|  |  |  |             <id>spring-mvc-forms</id> | 
					
						
							|  |  |  |             <activation> | 
					
						
							|  |  |  |                 <activeByDefault>true</activeByDefault> | 
					
						
							|  |  |  |             </activation> | 
					
						
							|  |  |  |             <build> | 
					
						
							|  |  |  |                 <pluginManagement> | 
					
						
							|  |  |  |                     <plugins> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         <plugin> | 
					
						
							|  |  |  |                             <groupId>org.apache.maven.plugins</groupId> | 
					
						
							|  |  |  |                             <artifactId>maven-compiler-plugin</artifactId> | 
					
						
							|  |  |  |                             <version>${maven-compiler-plugin.version}</version> | 
					
						
							|  |  |  |                             <configuration> | 
					
						
							|  |  |  |                                 <source>${maven-compiler-plugin.source}</source> | 
					
						
							|  |  |  |                                 <target>${maven-compiler-plugin.source}</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> | 
					
						
							|  |  |  |                                 <warName>spring-mvc-forms</warName> | 
					
						
							|  |  |  |                                 <failOnMissingWebXml>false</failOnMissingWebXml> | 
					
						
							|  |  |  |                                 <outputDirectory>${deploy-path}</outputDirectory> | 
					
						
							|  |  |  |                             </configuration> | 
					
						
							|  |  |  |                         </plugin> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                     </plugins> | 
					
						
							|  |  |  |                 </pluginManagement> | 
					
						
							|  |  |  |                 <finalName>spring-mvc-forms</finalName> | 
					
						
							|  |  |  |             </build> | 
					
						
							|  |  |  |         </profile> | 
					
						
							|  |  |  |     </profiles> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     <properties> | 
					
						
							| 
									
										
										
										
											2016-12-07 00:18:52 +02:00
										 |  |  |         <springframework.version>4.3.4.RELEASE</springframework.version> | 
					
						
							|  |  |  |         <maven-war-plugin.version>2.6</maven-war-plugin.version> | 
					
						
							| 
									
										
										
										
											2016-11-26 17:43:54 +00: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> | 
					
						
							| 
									
										
										
										
											2016-12-07 00:18:52 +02:00
										 |  |  |         <maven-compiler-plugin.version>3.6.0</maven-compiler-plugin.version> | 
					
						
							| 
									
										
										
										
											2016-11-26 17:43:54 +00:00
										 |  |  |         <maven-compiler-plugin.source>1.8</maven-compiler-plugin.source> | 
					
						
							| 
									
										
										
										
											2016-12-07 00:18:52 +02:00
										 |  |  |         <hibernate-validator.version>5.3.3.Final</hibernate-validator.version> | 
					
						
							| 
									
										
										
										
											2016-11-26 17:43:54 +00:00
										 |  |  |         <deploy-path>enter-location-of-server</deploy-path> | 
					
						
							| 
									
										
										
										
											2017-01-25 17:59:18 +02:00
										 |  |  | 		<fileupload.version>1.3.2</fileupload.version> | 
					
						
							| 
									
										
										
										
											2016-11-26 17:43:54 +00:00
										 |  |  |     </properties> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </project> | 
					
						
							|  |  |  | 
 |