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 >org</groupId >
5+ <artifactId >rest</artifactId >
6+ <version >0.0.1-SNAPSHOT</version >
7+ <packaging >war</packaging >
8+
9+ <dependencies >
10+
11+ <dependency >
12+ <groupId >com.google.guava</groupId >
13+ <artifactId >guava</artifactId >
14+ <version >${guava.version}</version >
15+ </dependency >
16+
17+ <dependency >
18+ <groupId >javax.servlet</groupId >
19+ <artifactId >servlet-api</artifactId >
20+ <version >2.5</version >
21+ <scope >provided</scope >
22+ </dependency >
23+
24+ <dependency >
25+ <groupId >org.apache.httpcomponents</groupId >
26+ <artifactId >httpcore</artifactId >
27+ <version >${http.version}</version >
28+ <exclusions >
29+ <exclusion >
30+ <artifactId >commons-logging</artifactId >
31+ <groupId >commons-logging</groupId >
32+ </exclusion >
33+ </exclusions >
34+ </dependency >
35+
36+ <!-- spring -->
37+ <dependency >
38+ <groupId >org.springframework</groupId >
39+ <artifactId >spring-webmvc</artifactId >
40+ <version >${spring.version}</version >
41+ <exclusions >
42+ <exclusion >
43+ <artifactId >commons-logging</artifactId >
44+ <groupId >commons-logging</groupId >
45+ </exclusion >
46+ </exclusions >
47+ </dependency >
48+ <dependency >
49+ <groupId >org.springframework</groupId >
50+ <artifactId >spring-oxm</artifactId >
51+ <version >${spring.version}</version >
52+ </dependency >
53+
54+ <!-- security -->
55+ <dependency >
56+ <groupId >org.springframework.security</groupId >
57+ <artifactId >spring-security-web</artifactId >
58+ <version >${spring-security.version}</version >
59+ </dependency >
60+ <dependency >
61+ <groupId >org.springframework.security</groupId >
62+ <artifactId >spring-security-config</artifactId >
63+ <version >${spring-security.version}</version >
64+ </dependency >
65+ <dependency >
66+ <groupId >org.springframework</groupId >
67+ <artifactId >spring-tx</artifactId >
68+ <version >${spring.version}</version >
69+ </dependency >
70+ <dependency >
71+ <groupId >org.springframework</groupId >
72+ <artifactId >spring-aop</artifactId >
73+ <version >${spring.version}</version >
74+ </dependency >
75+
76+ <!-- json, xml, atom -->
77+ <dependency >
78+ <groupId >org.codehaus.jackson</groupId >
79+ <artifactId >jackson-mapper-asl</artifactId >
80+ <version >${jackson-mapper-asl.version}</version >
81+ <scope >runtime</scope >
82+ </dependency >
83+ <dependency >
84+ <groupId >javax.xml.bind</groupId >
85+ <artifactId >jaxb-api</artifactId >
86+ <version >${jaxb-api.version}</version >
87+ <scope >runtime</scope >
88+ </dependency >
89+ <dependency >
90+ <groupId >rome</groupId >
91+ <artifactId >rome</artifactId >
92+ <version >1.0</version >
93+ <scope >runtime</scope >
94+ </dependency >
95+ <dependency >
96+ <groupId >com.thoughtworks.xstream</groupId >
97+ <artifactId >xstream</artifactId >
98+ <version >1.4.2</version >
99+ </dependency >
100+
101+ <!-- logging -->
102+ <dependency >
103+ <groupId >org.slf4j</groupId >
104+ <artifactId >slf4j-api</artifactId >
105+ <version >${org.slf4j.version}</version >
106+ </dependency >
107+ <dependency >
108+ <groupId >ch.qos.logback</groupId >
109+ <artifactId >logback-classic</artifactId >
110+ <version >1.0.0</version >
111+ <scope >runtime</scope >
112+ </dependency >
113+ <dependency >
114+ <groupId >org.slf4j</groupId >
115+ <artifactId >jcl-over-slf4j</artifactId >
116+ <version >${org.slf4j.version}</version >
117+ <scope >runtime</scope >
118+ </dependency >
119+
120+ <!-- test scoped -->
121+ <dependency >
122+ <groupId >org.springframework</groupId >
123+ <artifactId >spring-test</artifactId >
124+ <version >${spring.version}</version >
125+ <scope >test</scope >
126+ </dependency >
127+
128+ <dependency >
129+ <groupId >junit</groupId >
130+ <artifactId >junit</artifactId >
131+ <version >${junit.version}</version >
132+ <scope >test</scope >
133+ </dependency >
134+
135+ <dependency >
136+ <groupId >org.hamcrest</groupId >
137+ <artifactId >hamcrest-core</artifactId >
138+ <version >${org.hamcrest.version}</version >
139+ <scope >test</scope >
140+ </dependency >
141+ <dependency >
142+ <groupId >org.hamcrest</groupId >
143+ <artifactId >hamcrest-library</artifactId >
144+ <version >${org.hamcrest.version}</version >
145+ <scope >test</scope >
146+ </dependency >
147+
148+ <dependency >
149+ <groupId >org.mockito</groupId >
150+ <artifactId >mockito-core</artifactId >
151+ <version >${mockito.version}</version >
152+ <scope >test</scope >
153+ </dependency >
154+
155+ <dependency >
156+ <groupId >org.apache.httpcomponents</groupId >
157+ <artifactId >httpclient</artifactId >
158+ <version >${httpclient.version}</version >
159+ <scope >test</scope >
160+ <exclusions >
161+ <exclusion >
162+ <artifactId >commons-logging</artifactId >
163+ <groupId >commons-logging</groupId >
164+ </exclusion >
165+ </exclusions >
166+ </dependency >
167+
168+ <dependency >
169+ <groupId >org.apache.commons</groupId >
170+ <artifactId >commons-lang3</artifactId >
171+ <version >${commons-lang3.version}</version >
172+ <scope >test</scope >
173+ </dependency >
174+
175+ <dependency >
176+ <groupId >com.jayway.restassured</groupId >
177+ <artifactId >rest-assured</artifactId >
178+ <version >1.5</version >
179+ <scope >test</scope >
180+ <exclusions >
181+ <exclusion >
182+ <artifactId >commons-logging</artifactId >
183+ <groupId >commons-logging</groupId >
184+ </exclusion >
185+ </exclusions >
186+ </dependency >
187+
188+ </dependencies >
189+
190+ <build >
191+ <finalName >rest</finalName >
192+ <resources >
193+ <resource >
194+ <directory >src/main/resources</directory >
195+ <filtering >true</filtering >
196+ </resource >
197+ <resource >
198+ <directory >src/main/resources/${target}</directory >
199+ </resource >
200+ </resources >
201+
202+ <plugins >
203+
204+ <plugin >
205+ <groupId >org.apache.maven.plugins</groupId >
206+ <artifactId >maven-surefire-plugin</artifactId >
207+ <version >2.11</version >
208+ <configuration >
209+ <excludes >
210+ <exclude >**/*IntegrationTest.java</exclude >
211+ </excludes >
212+ </configuration >
213+ </plugin >
214+ <plugin >
215+ <groupId >org.apache.maven.plugins</groupId >
216+ <artifactId >maven-compiler-plugin</artifactId >
217+ <version >2.3.2</version >
218+ <configuration >
219+ <source >1.6</source >
220+ <target >1.6</target >
221+ </configuration >
222+ </plugin >
223+
224+ <plugin >
225+ <groupId >org.codehaus.cargo</groupId >
226+ <artifactId >cargo-maven2-plugin</artifactId >
227+ <version >1.1.4</version >
228+ <configuration >
229+ <wait >true</wait >
230+ <container >
231+ <containerId >jetty7x</containerId >
232+ <type >embedded</type >
233+ </container >
234+ <configuration >
235+ <properties >
236+ <cargo .servlet.port>8080</cargo .servlet.port>
237+ </properties >
238+ </configuration >
239+ </configuration >
240+ </plugin >
241+
242+ </plugins >
243+
244+ </build >
245+
246+ <repositories >
247+
248+ <repository >
249+ <id >jboss-public-repository-group</id >
250+ <name >JBoss Public Maven Repository Group</name >
251+ <url >https://repository.jboss.org/nexus/content/groups/public/</url >
252+ <layout >default</layout >
253+ <releases >
254+ <enabled >true</enabled >
255+ <updatePolicy >never</updatePolicy >
256+ </releases >
257+ <snapshots >
258+ <enabled >true</enabled >
259+ <updatePolicy >never</updatePolicy >
260+ </snapshots >
261+ </repository >
262+
263+ </repositories >
264+
265+ <properties >
266+ <target >dev</target >
267+
268+ <!-- VERSIONS -->
269+ <spring-security .version>3.1.0.RELEASE</spring-security .version>
270+ <spring .version>3.1.0.RELEASE</spring .version> <!-- 3.1.0.BUILD-SNAPSHOT -->
271+ <javassist .version>3.15.0-GA</javassist .version>
272+ <cglib .version>2.2.2</cglib .version>
273+
274+ <commons-lang3 .version>3.1</commons-lang3 .version>
275+ <guava .version>11.0</guava .version>
276+
277+ <jackson-mapper-asl .version>1.9.4</jackson-mapper-asl .version>
278+ <jaxb-api .version>2.2.6</jaxb-api .version>
279+
280+ <!-- VERSIONS - logging -->
281+ <org .slf4j.version>1.6.4</org .slf4j.version>
282+
283+ <!-- VERSIONS - testing -->
284+ <org .hamcrest.version>1.3.RC2</org .hamcrest.version>
285+ <junit .version>4.10</junit .version>
286+ <mockito .version>1.9.0</mockito .version>
287+
288+ <http .version>4.1.4</http .version>
289+ <httpclient .version>4.1.2</httpclient .version>
290+
291+ </properties >
292+
293+ </project >
0 commit comments