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+
5+ <groupId >com.baeldung</groupId >
6+ <artifactId >spring-security-mvc-jsonview</artifactId >
7+ <version >0.1-SNAPSHOT</version >
8+ <name >spring-security-mvc-jsonview</name >
9+ <packaging >war</packaging >
10+
11+ <parent >
12+ <groupId >com.baeldung</groupId >
13+ <artifactId >parent-spring-5</artifactId >
14+ <version >0.0.1-SNAPSHOT</version >
15+ <relativePath >../parent-spring-5</relativePath >
16+ </parent >
17+
18+ <dependencies >
19+
20+ <dependency >
21+ <groupId >com.fasterxml.jackson.core</groupId >
22+ <artifactId >jackson-core</artifactId >
23+ <version >2.9.7</version >
24+ </dependency >
25+ <dependency >
26+ <groupId >com.fasterxml.jackson.core</groupId >
27+ <artifactId >jackson-annotations</artifactId >
28+ <version >2.9.7</version >
29+ </dependency >
30+ <dependency >
31+ <groupId >com.fasterxml.jackson.core</groupId >
32+ <artifactId >jackson-databind</artifactId >
33+ <version >2.9.7</version >
34+ </dependency >
35+
36+ <!-- Spring Security -->
37+
38+ <dependency >
39+ <groupId >org.springframework.security</groupId >
40+ <artifactId >spring-security-web</artifactId >
41+ <version >${org.springframework.security.version} </version >
42+ </dependency >
43+ <dependency >
44+ <groupId >org.springframework.security</groupId >
45+ <artifactId >spring-security-config</artifactId >
46+ <version >${org.springframework.security.version} </version >
47+ </dependency >
48+ <dependency >
49+ <groupId >org.springframework.security</groupId >
50+ <artifactId >spring-security-taglibs</artifactId >
51+ <version >${org.springframework.security.version} </version >
52+ </dependency >
53+
54+ <!-- Spring -->
55+
56+ <dependency >
57+ <groupId >org.springframework</groupId >
58+ <artifactId >spring-core</artifactId >
59+ <version >${spring.version} </version >
60+ <exclusions >
61+ <exclusion >
62+ <artifactId >commons-logging</artifactId >
63+ <groupId >commons-logging</groupId >
64+ </exclusion >
65+ </exclusions >
66+ </dependency >
67+ <dependency >
68+ <groupId >org.springframework</groupId >
69+ <artifactId >spring-context</artifactId >
70+ <version >${spring.version} </version >
71+ </dependency >
72+ <dependency >
73+ <groupId >org.springframework</groupId >
74+ <artifactId >spring-jdbc</artifactId >
75+ <version >${spring.version} </version >
76+ </dependency >
77+ <dependency >
78+ <groupId >org.springframework</groupId >
79+ <artifactId >spring-beans</artifactId >
80+ <version >${spring.version} </version >
81+ </dependency >
82+ <dependency >
83+ <groupId >org.springframework</groupId >
84+ <artifactId >spring-aop</artifactId >
85+ <version >${spring.version} </version >
86+ </dependency >
87+ <dependency >
88+ <groupId >org.springframework</groupId >
89+ <artifactId >spring-tx</artifactId >
90+ <version >${spring.version} </version >
91+ </dependency >
92+ <dependency >
93+ <groupId >org.springframework</groupId >
94+ <artifactId >spring-expression</artifactId >
95+ <version >${spring.version} </version >
96+ </dependency >
97+
98+ <dependency >
99+ <groupId >org.springframework</groupId >
100+ <artifactId >spring-web</artifactId >
101+ <version >${spring.version} </version >
102+ </dependency >
103+ <dependency >
104+ <groupId >org.springframework</groupId >
105+ <artifactId >spring-webmvc</artifactId >
106+ <version >${spring.version} </version >
107+ </dependency >
108+
109+ <!-- web -->
110+
111+ <dependency >
112+ <groupId >javax.servlet</groupId >
113+ <artifactId >javax.servlet-api</artifactId >
114+ <version >${javax.servlet.version} </version >
115+ <scope >provided</scope >
116+ </dependency >
117+
118+ <dependency >
119+ <groupId >javax.servlet</groupId >
120+ <artifactId >jstl</artifactId >
121+ <version >${jstl.version} </version >
122+ <scope >runtime</scope >
123+ </dependency >
124+
125+ <!-- test scoped -->
126+
127+ <dependency >
128+ <groupId >org.springframework</groupId >
129+ <artifactId >spring-test</artifactId >
130+ <version >${spring.version} </version >
131+ <scope >test</scope >
132+ </dependency >
133+ <dependency >
134+ <groupId >org.springframework.security</groupId >
135+ <artifactId >spring-security-test</artifactId >
136+ <version >${org.springframework.security.version} </version >
137+ <scope >test</scope >
138+ </dependency >
139+ <dependency >
140+ <groupId >com.jayway.jsonpath</groupId >
141+ <artifactId >json-path</artifactId >
142+ <version >2.4.0</version >
143+ <scope >test</scope >
144+ </dependency >
145+
146+ </dependencies >
147+
148+ <build >
149+ <finalName >spring-security-mvc-jsonview</finalName >
150+ <resources >
151+ <resource >
152+ <directory >src/main/resources</directory >
153+ <filtering >true</filtering >
154+ </resource >
155+ </resources >
156+
157+ <plugins >
158+
159+ <plugin >
160+ <groupId >org.apache.maven.plugins</groupId >
161+ <artifactId >maven-war-plugin</artifactId >
162+ <version >${maven-war-plugin.version} </version >
163+ <executions >
164+ <execution >
165+ <id >default-war</id >
166+ <phase >prepare-package</phase >
167+ <configuration >
168+ <failOnMissingWebXml >false</failOnMissingWebXml >
169+ </configuration >
170+ </execution >
171+ </executions >
172+ </plugin >
173+
174+ <plugin >
175+ <groupId >org.codehaus.cargo</groupId >
176+ <artifactId >cargo-maven2-plugin</artifactId >
177+ <version >${cargo-maven2-plugin.version} </version >
178+ <configuration >
179+ <deployables >
180+ <deployable >
181+ <location >${project.build.directory} /${project.name} .war</location >
182+ <type >war</type >
183+ <properties >
184+ <context >/</context >
185+ </properties >
186+ </deployable >
187+ </deployables >
188+ <container >
189+ <timeout >2400000</timeout >
190+ <containerId >tomcat8x</containerId >
191+ <type >embedded</type >
192+ <systemProperties >
193+ <!-- <provPersistenceTarget>cargo</provPersistenceTarget> -->
194+ </systemProperties >
195+ </container >
196+ <configuration >
197+ <properties >
198+ <cargo .servlet.port>8084</cargo .servlet.port>
199+ </properties >
200+ </configuration >
201+ </configuration >
202+ </plugin >
203+
204+ </plugins >
205+
206+ </build >
207+
208+ <properties >
209+ <!-- Spring -->
210+ <org .springframework.security.version>5.0.5.RELEASE</org .springframework.security.version>
211+
212+ <!-- various -->
213+ <javax .servlet.version>3.1.0</javax .servlet.version>
214+ <jstl .version>1.2</jstl .version>
215+
216+ <!-- Maven plugins -->
217+ <maven-war-plugin .version>2.6</maven-war-plugin .version>
218+ <cargo-maven2-plugin .version>1.6.1</cargo-maven2-plugin .version>
219+
220+ </properties >
221+
222+ </project >
0 commit comments