|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + <modelVersion>4.0.0</modelVersion> |
| 4 | + <groupId>com.baeldung</groupId> |
| 5 | + <artifactId>spring-mvc-tiles</artifactId> |
| 6 | + <version>0.0.1-SNAPSHOT</version> |
| 7 | + <packaging>war</packaging> |
| 8 | + <name>spring-mvc-tiles</name> |
| 9 | + <description>Integrating Spring MVC with Apache Tiles</description> |
| 10 | + |
| 11 | + <properties> |
| 12 | + <springframework.version>4.3.2.RELEASE</springframework.version> |
| 13 | + <apachetiles.version>3.0.5</apachetiles.version> |
| 14 | + </properties> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <!-- Spring --> |
| 18 | + <dependency> |
| 19 | + <groupId>org.springframework</groupId> |
| 20 | + <artifactId>spring-core</artifactId> |
| 21 | + <version>${springframework.version}</version> |
| 22 | + </dependency> |
| 23 | + <dependency> |
| 24 | + <groupId>org.springframework</groupId> |
| 25 | + <artifactId>spring-web</artifactId> |
| 26 | + <version>${springframework.version}</version> |
| 27 | + </dependency> |
| 28 | + <dependency> |
| 29 | + <groupId>org.springframework</groupId> |
| 30 | + <artifactId>spring-webmvc</artifactId> |
| 31 | + <version>${springframework.version}</version> |
| 32 | + </dependency> |
| 33 | + <!-- Apache Tiles --> |
| 34 | + <dependency> |
| 35 | + <groupId>org.apache.tiles</groupId> |
| 36 | + <artifactId>tiles-jsp</artifactId> |
| 37 | + <version>${apachetiles.version}</version> |
| 38 | + </dependency> |
| 39 | + |
| 40 | + <!-- Servlet+JSP+JSTL --> |
| 41 | + <dependency> |
| 42 | + <groupId>javax.servlet</groupId> |
| 43 | + <artifactId>javax.servlet-api</artifactId> |
| 44 | + <version>3.1.0</version> |
| 45 | + </dependency> |
| 46 | + <dependency> |
| 47 | + <groupId>javax.servlet.jsp</groupId> |
| 48 | + <artifactId>javax.servlet.jsp-api</artifactId> |
| 49 | + <version>2.3.1</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>javax.servlet</groupId> |
| 53 | + <artifactId>jstl</artifactId> |
| 54 | + <version>1.2</version> |
| 55 | + </dependency> |
| 56 | + |
| 57 | + </dependencies> |
| 58 | + |
| 59 | + <build> |
| 60 | + <pluginManagement> |
| 61 | + <plugins> |
| 62 | + <plugin> |
| 63 | + <groupId>org.apache.maven.plugins</groupId> |
| 64 | + <artifactId>maven-compiler-plugin</artifactId> |
| 65 | + <version>3.2</version> |
| 66 | + <configuration> |
| 67 | + <source>1.7</source> |
| 68 | + <target>1.7</target> |
| 69 | + </configuration> |
| 70 | + </plugin> |
| 71 | + <plugin> |
| 72 | + <groupId>org.apache.maven.plugins</groupId> |
| 73 | + <artifactId>maven-war-plugin</artifactId> |
| 74 | + <version>2.4</version> |
| 75 | + <configuration> |
| 76 | + <warSourceDirectory>src/main/webapp</warSourceDirectory> |
| 77 | + <warName>spring-mvc-tiles</warName> |
| 78 | + <failOnMissingWebXml>false</failOnMissingWebXml> |
| 79 | + </configuration> |
| 80 | + </plugin> |
| 81 | + </plugins> |
| 82 | + </pluginManagement> |
| 83 | + <finalName>spring-mvc-tiles</finalName> |
| 84 | + </build> |
| 85 | +</project> |
0 commit comments