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.baeldung</groupId >
5+ <artifactId >spring-security-mvc-persisted-remember-me</artifactId >
6+ <version >0.1-SNAPSHOT</version >
7+
8+ <name >spring-security-mvc-persisted-remember-me</name >
9+ <packaging >war</packaging >
10+
11+ <dependencies >
12+
13+ <!-- Spring Security -->
14+
15+ <dependency >
16+ <groupId >org.springframework.security</groupId >
17+ <artifactId >spring-security-web</artifactId >
18+ <version >${org.springframework.security.version} </version >
19+ </dependency >
20+ <dependency >
21+ <groupId >org.springframework.security</groupId >
22+ <artifactId >spring-security-config</artifactId >
23+ <version >${org.springframework.security.version} </version >
24+ </dependency >
25+ <dependency >
26+ <groupId >org.springframework.security</groupId >
27+ <artifactId >spring-security-taglibs</artifactId >
28+ <version >${org.springframework.security.version} </version >
29+ </dependency >
30+ <dependency >
31+ <groupId >org.springframework</groupId >
32+ <artifactId >spring-orm</artifactId >
33+ <version >${org.springframework.version} </version >
34+ </dependency >
35+
36+ <!-- Spring -->
37+
38+ <dependency >
39+ <groupId >org.springframework</groupId >
40+ <artifactId >spring-core</artifactId >
41+ <version >${org.springframework.version} </version >
42+ <exclusions >
43+ <exclusion >
44+ <artifactId >commons-logging</artifactId >
45+ <groupId >commons-logging</groupId >
46+ </exclusion >
47+ </exclusions >
48+ </dependency >
49+ <dependency >
50+ <groupId >org.springframework</groupId >
51+ <artifactId >spring-context</artifactId >
52+ <version >${org.springframework.version} </version >
53+ </dependency >
54+ <dependency >
55+ <groupId >org.springframework</groupId >
56+ <artifactId >spring-jdbc</artifactId >
57+ <version >${org.springframework.version} </version >
58+ </dependency >
59+ <dependency >
60+ <groupId >org.springframework</groupId >
61+ <artifactId >spring-beans</artifactId >
62+ <version >${org.springframework.version} </version >
63+ </dependency >
64+ <dependency >
65+ <groupId >org.springframework</groupId >
66+ <artifactId >spring-aop</artifactId >
67+ <version >${org.springframework.version} </version >
68+ </dependency >
69+ <dependency >
70+ <groupId >org.springframework</groupId >
71+ <artifactId >spring-tx</artifactId >
72+ <version >${org.springframework.version} </version >
73+ </dependency >
74+ <dependency >
75+ <groupId >org.springframework</groupId >
76+ <artifactId >spring-expression</artifactId >
77+ <version >${org.springframework.version} </version >
78+ </dependency >
79+
80+ <dependency >
81+ <groupId >org.springframework</groupId >
82+ <artifactId >spring-web</artifactId >
83+ <version >${org.springframework.version} </version >
84+ </dependency >
85+ <dependency >
86+ <groupId >org.springframework</groupId >
87+ <artifactId >spring-webmvc</artifactId >
88+ <version >${org.springframework.version} </version >
89+ </dependency >
90+
91+ <!-- web -->
92+
93+ <dependency >
94+ <groupId >javax.servlet</groupId >
95+ <artifactId >javax.servlet-api</artifactId >
96+ <version >3.0.1</version >
97+ <scope >provided</scope >
98+ </dependency >
99+
100+ <dependency >
101+ <groupId >javax.servlet</groupId >
102+ <artifactId >jstl</artifactId >
103+ <version >1.2</version >
104+ <scope >runtime</scope >
105+ </dependency >
106+
107+ <!-- persistence -->
108+
109+ <dependency >
110+ <groupId >com.h2database</groupId >
111+ <artifactId >h2</artifactId >
112+ <version >1.4.178</version >
113+ </dependency >
114+
115+ <dependency >
116+ <groupId >postgresql</groupId >
117+ <artifactId >postgresql</artifactId >
118+ <version >9.1-901.jdbc4</version >
119+ <scope >runtime</scope >
120+ </dependency >
121+
122+ <!-- utils -->
123+
124+ <dependency >
125+ <groupId >com.google.guava</groupId >
126+ <artifactId >guava</artifactId >
127+ <version >${guava.version} </version >
128+ </dependency >
129+
130+
131+ <!-- ops -->
132+
133+ <!-- <dependency> -->
134+ <!-- <groupId>com.codahale.metrics</groupId> -->
135+ <!-- <artifactId>metrics-core</artifactId> -->
136+ <!-- <version>3.0.1</version> -->
137+ <!-- </dependency> -->
138+
139+ <!-- logging -->
140+
141+ <dependency >
142+ <groupId >org.slf4j</groupId >
143+ <artifactId >slf4j-api</artifactId >
144+ <version >${org.slf4j.version} </version >
145+ </dependency >
146+ <dependency >
147+ <groupId >ch.qos.logback</groupId >
148+ <artifactId >logback-classic</artifactId >
149+ <version >${logback.version} </version >
150+ <!-- <scope>runtime</scope> -->
151+ </dependency >
152+ <dependency >
153+ <groupId >org.slf4j</groupId >
154+ <artifactId >jcl-over-slf4j</artifactId >
155+ <version >${org.slf4j.version} </version >
156+ <!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
157+ </dependency >
158+ <dependency > <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
159+ <groupId >org.slf4j</groupId >
160+ <artifactId >log4j-over-slf4j</artifactId >
161+ <version >${org.slf4j.version} </version >
162+ </dependency >
163+
164+ <!-- test scoped -->
165+
166+ <dependency >
167+ <groupId >junit</groupId >
168+ <artifactId >junit-dep</artifactId >
169+ <version >${junit.version} </version >
170+ <scope >test</scope >
171+ </dependency >
172+
173+ <dependency >
174+ <groupId >org.hamcrest</groupId >
175+ <artifactId >hamcrest-core</artifactId >
176+ <version >${org.hamcrest.version} </version >
177+ <scope >test</scope >
178+ </dependency >
179+ <dependency >
180+ <groupId >org.hamcrest</groupId >
181+ <artifactId >hamcrest-library</artifactId >
182+ <version >${org.hamcrest.version} </version >
183+ <scope >test</scope >
184+ </dependency >
185+
186+ <dependency >
187+ <groupId >org.mockito</groupId >
188+ <artifactId >mockito-core</artifactId >
189+ <version >${mockito.version} </version >
190+ <scope >test</scope >
191+ </dependency >
192+
193+ </dependencies >
194+
195+ <build >
196+ <finalName >spring-security-mvc-persisted-remember-me</finalName >
197+ <resources >
198+ <resource >
199+ <directory >src/main/resources</directory >
200+ <filtering >true</filtering >
201+ </resource >
202+ </resources >
203+
204+ <plugins >
205+
206+ <plugin >
207+ <groupId >org.apache.maven.plugins</groupId >
208+ <artifactId >maven-compiler-plugin</artifactId >
209+ <version >${maven-compiler-plugin.version} </version >
210+ <configuration >
211+ <source >1.7</source >
212+ <target >1.7</target >
213+ </configuration >
214+ </plugin >
215+
216+ <plugin >
217+ <groupId >org.apache.maven.plugins</groupId >
218+ <artifactId >maven-war-plugin</artifactId >
219+ <version >${maven-war-plugin.version} </version >
220+ </plugin >
221+
222+ <plugin >
223+ <groupId >org.apache.maven.plugins</groupId >
224+ <artifactId >maven-surefire-plugin</artifactId >
225+ <version >${maven-surefire-plugin.version} </version >
226+ <configuration >
227+ <excludes >
228+ <!-- <exclude>**/*ProductionTest.java</exclude> -->
229+ </excludes >
230+ <systemPropertyVariables >
231+ <!-- <provPersistenceTarget>h2</provPersistenceTarget> -->
232+ </systemPropertyVariables >
233+ </configuration >
234+ </plugin >
235+
236+ <plugin >
237+ <groupId >org.codehaus.cargo</groupId >
238+ <artifactId >cargo-maven2-plugin</artifactId >
239+ <version >${cargo-maven2-plugin.version} </version >
240+ <configuration >
241+ <wait >true</wait >
242+ <container >
243+ <containerId >jetty8x</containerId >
244+ <type >embedded</type >
245+ <systemProperties >
246+ <!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
247+ </systemProperties >
248+ </container >
249+ <configuration >
250+ <properties >
251+ <cargo .servlet.port>8082</cargo .servlet.port>
252+ </properties >
253+ </configuration >
254+ </configuration >
255+ </plugin >
256+
257+ </plugins >
258+
259+ </build >
260+
261+ <properties >
262+ <!-- Spring -->
263+ <org .springframework.version>4.0.5.RELEASE</org .springframework.version>
264+ <org .springframework.security.version>3.2.4.RELEASE</org .springframework.security.version>
265+
266+ <!-- persistence -->
267+ <hibernate .version>4.3.5.Final</hibernate .version>
268+ <mysql-connector-java .version>5.1.30</mysql-connector-java .version>
269+
270+ <!-- logging -->
271+ <org .slf4j.version>1.7.6</org .slf4j.version>
272+ <logback .version>1.1.1</logback .version>
273+
274+ <!-- various -->
275+ <hibernate-validator .version>5.1.1.Final</hibernate-validator .version>
276+
277+ <!-- util -->
278+ <guava .version>17.0</guava .version>
279+ <commons-lang3 .version>3.3.2</commons-lang3 .version>
280+
281+ <!-- testing -->
282+ <org .hamcrest.version>1.3</org .hamcrest.version>
283+ <junit .version>4.11</junit .version>
284+ <mockito .version>1.9.5</mockito .version>
285+
286+ <httpclient .version>4.3.3</httpclient .version>
287+ <httpcore .version>4.3.2</httpcore .version>
288+
289+ <rest-assured .version>2.3.1</rest-assured .version>
290+
291+ <!-- Maven plugins -->
292+ <maven-compiler-plugin .version>3.1</maven-compiler-plugin .version>
293+ <maven-war-plugin .version>2.4</maven-war-plugin .version>
294+ <maven-surefire-plugin .version>2.17</maven-surefire-plugin .version>
295+ <maven-resources-plugin .version>2.6</maven-resources-plugin .version>
296+ <cargo-maven2-plugin .version>1.4.8</cargo-maven2-plugin .version>
297+
298+ </properties >
299+
300+ </project >
0 commit comments