1: <?xml version="1.0" encoding="UTF-8"?>
2: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3: xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4: <modelVersion>4.0.0</modelVersion>
5: <groupId>org.springframework.samples</groupId>
6: <artifactId>mvc-ajax</artifactId>
7: <name>mvc-ajax</name>
8: <packaging>war</packaging>
9: <version>1.0.0-SNAPSHOT</version>
10: <properties>
11: <org.springframework.version>3.0.3.RELEASE</org.springframework.version>
12: <org.slf4j.version>1.5.10</org.slf4j.version>
13: </properties>
14: <dependencies>
15:
16: <!-- Spring -->
17: <dependency>
18: <groupId>org.springframework</groupId>
19: <artifactId>spring-context</artifactId>
20: <version>${org.springframework.version}</version>
21: <exclusions>
22: <!-- Exclude Commons Logging in favor of SLF4j -->
23: <exclusion>
24: <groupId>commons-logging</groupId>
25: <artifactId>commons-logging</artifactId>
26: </exclusion>
27: </exclusions>
28: </dependency>
29: <dependency>
30: <groupId>org.springframework</groupId>
31: <artifactId>spring-webmvc</artifactId>
32: <version>${org.springframework.version}</version>
33: </dependency>
34:
35: <!-- Logging -->
36: <dependency>
37: <groupId>org.slf4j</groupId>
38: <artifactId>slf4j-api</artifactId>
39: <version>${org.slf4j.version}</version>
40: </dependency>
41: <dependency>
42: <groupId>org.slf4j</groupId>
43: <artifactId>jcl-over-slf4j</artifactId>
44: <version>${org.slf4j.version}</version>
45: <scope>runtime</scope>
46: </dependency>
47: <dependency>
48: <groupId>org.slf4j</groupId>
49: <artifactId>slf4j-log4j12</artifactId>
50: <version>${org.slf4j.version}</version>
51: <scope>runtime</scope>
52: </dependency>
53: <dependency>
54: <groupId>log4j</groupId>
55: <artifactId>log4j</artifactId>
56: <version>1.2.16</version>
57: <scope>runtime</scope>
58: </dependency>
59:
60: <!-- JSR 303 with Hibernate Validator -->
61: <dependency>
62: <groupId>javax.validation</groupId>
63: <artifactId>validation-api</artifactId>
64: <version>1.0.0.GA</version>
65: </dependency>
66: <dependency>
67: <groupId>org.hibernate</groupId>
68: <artifactId>hibernate-validator</artifactId>
69: <version>4.0.2.GA</version>
70: </dependency>
71:
72: <!-- Joda Time -->
73: <dependency>
74: <groupId>joda-time</groupId>
75: <artifactId>joda-time</artifactId>
76: <version>1.6</version>
77: <scope>runtime</scope>
78: </dependency>
79:
80: <!-- Jackson JSON Mapper -->
81: <dependency>
82: <groupId>org.codehaus.jackson</groupId>
83: <artifactId>jackson-mapper-asl</artifactId>
84: <version>1.5.3</version>
85: </dependency>
86:
87: <!-- Jexcel -->
88: <dependency>
89: <groupId>net.sourceforge.jexcelapi</groupId>
90: <artifactId>jxl</artifactId>
91: <version>2.6.3</version>
92: </dependency>
93: <!-- URL Rewrite -->
94: <dependency>
95: <groupId>org.tuckey</groupId>
96: <artifactId>urlrewritefilter</artifactId>
97: <version>3.1.0</version>
98: </dependency>
99:
100: <!-- Servlet -->
101: <dependency>
102: <groupId>javax.servlet</groupId>
103: <artifactId>servlet-api</artifactId>
104: <version>2.5</version>
105: <scope>provided</scope>
106: </dependency>
107: <dependency>
108: <groupId>javax.servlet.jsp</groupId>
109: <artifactId>jsp-api</artifactId>
110: <version>2.1</version>
111: <scope>provided</scope>
112: </dependency>
113: <dependency>
114: <groupId>javax.servlet</groupId>
115: <artifactId>jstl</artifactId>
116: <version>1.2</version>
117: </dependency>
118:
119: <!-- Test -->
120: <dependency>
121: <groupId>junit</groupId>
122: <artifactId>junit</artifactId>
123: <version>4.7</version>
124: <scope>test</scope>
125: </dependency>
126: <dependency>
127: <groupId>org.springframework</groupId>
128: <artifactId>spring-test</artifactId>
129: <version>${org.springframework.version}</version>
130: <scope>test</scope>
131: </dependency>
132: </dependencies>
133: <repositories>
134: <!-- For Hibernate Validator -->
135: <repository>
136: <id>org.jboss.repository.release</id>
137: <name>JBoss Maven Release Repository</name>
138: <url>https://repository.jboss.org/nexus/content/repositories/releases</url>
139: <snapshots><enabled>false</enabled></snapshots>
140: </repository>
141: </repositories>
142: <build>
143: <plugins>
144: <plugin>
145: <groupId>org.apache.maven.plugins</groupId>
146: <artifactId>maven-compiler-plugin</artifactId>
147: <configuration>
148: <source>1.5</source>
149: <target>1.5</target>
150: <showWarnings>true</showWarnings>
151: </configuration>
152: </plugin>
153: <plugin>
154: <groupId>org.apache.maven.plugins</groupId>
155: <artifactId>maven-dependency-plugin</artifactId>
156: <executions>
157: <execution>
158: <id>install</id>
159: <phase>install</phase>
160: <goals>
161: <goal>sources</goal>
162: </goals>
163: </execution>
164: </executions>
165: </plugin>
166: </plugins>
167: </build>
168: </project>