1- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
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" >
23 <modelVersion >4.0.0</modelVersion >
34 <groupId >com.baeldung</groupId >
45 <artifactId >spring-mvc-java</artifactId >
1112 <groupId >org.springframework</groupId >
1213 <artifactId >spring-web</artifactId >
1314 <version >${org.springframework.version} </version >
15+ <exclusions >
16+ <exclusion >
17+ <groupId >commons-logging</groupId >
18+ <artifactId >commons-logging</artifactId >
19+ </exclusion >
20+ </exclusions >
1421 </dependency >
1522 <dependency >
1623 <groupId >org.springframework</groupId >
1724 <artifactId >spring-webmvc</artifactId >
1825 <version >${org.springframework.version} </version >
1926 </dependency >
2027 <dependency >
21- <groupId >org.springframework</groupId >
22- <artifactId >spring-websocket</artifactId >
23- <version >${org.springframework.version} </version >
24- </dependency >
25- <dependency >
26- <groupId >org.springframework</groupId >
27- <artifactId >spring-messaging</artifactId >
28- <version >${org.springframework.version} </version >
29- </dependency >
30- <!-- Jackson -->
31- <dependency >
32- <groupId >com.fasterxml.jackson.core</groupId >
33- <artifactId >jackson-core</artifactId >
34- <version >2.7.3</version >
35- </dependency >
36- <dependency >
37- <groupId >com.fasterxml.jackson.core</groupId >
38- <artifactId >jackson-databind</artifactId >
39- <version >2.7.3</version >
40- </dependency >
41-
28+ <groupId >org.springframework</groupId >
29+ <artifactId >spring-websocket</artifactId >
30+ <version >${org.springframework.version} </version >
31+ </dependency >
32+ <dependency >
33+ <groupId >org.springframework</groupId >
34+ <artifactId >spring-messaging</artifactId >
35+ <version >${org.springframework.version} </version >
36+ </dependency >
37+ <!-- Jackson -->
38+ <dependency >
39+ <groupId >com.fasterxml.jackson.core</groupId >
40+ <artifactId >jackson-core</artifactId >
41+ <version >2.7.3</version >
42+ </dependency >
43+ <dependency >
44+ <groupId >com.fasterxml.jackson.core</groupId >
45+ <artifactId >jackson-databind</artifactId >
46+ <version >2.7.3</version >
47+ </dependency >
48+
4249 <!-- web -->
4350 <dependency >
4451 <groupId >javax.servlet</groupId >
6875 <artifactId >aspectjweaver</artifactId >
6976 <version >${aspectj.version} </version >
7077 </dependency >
78+
79+ <!-- common -->
80+ <dependency >
81+ <groupId >commons-fileupload</groupId >
82+ <artifactId >commons-fileupload</artifactId >
83+ <version >1.3.1</version >
84+ </dependency >
85+
86+ <!-- Thymeleaf -->
87+ <dependency >
88+ <groupId >org.thymeleaf</groupId >
89+ <artifactId >thymeleaf-spring4</artifactId >
90+ <version >${thymeleaf.version} </version >
91+ </dependency >
92+ <dependency >
93+ <groupId >org.thymeleaf</groupId >
94+ <artifactId >thymeleaf</artifactId >
95+ <version >${thymeleaf.version} </version >
96+ </dependency >
97+
98+ <!-- Json conversion -->
99+ <dependency >
100+ <groupId >com.fasterxml.jackson.core</groupId >
101+ <artifactId >jackson-core</artifactId >
102+ <version >2.1.2</version >
103+ </dependency >
104+ <dependency >
105+ <groupId >com.fasterxml.jackson.core</groupId >
106+ <artifactId >jackson-databind</artifactId >
107+ <version >2.1.2</version >
108+ </dependency >
109+
71110 <!-- logging -->
72111 <dependency >
73112 <groupId >org.slf4j</groupId >
74113 <artifactId >slf4j-api</artifactId >
75114 <version >${org.slf4j.version} </version >
76115 </dependency >
116+ <dependency >
117+ <groupId >ch.qos.logback</groupId >
118+ <artifactId >logback-classic</artifactId >
119+ <!-- <scope>runtime</scope> -->
120+ <version >${logback.version} </version >
121+ </dependency >
77122 <dependency >
78123 <groupId >org.slf4j</groupId >
79- <artifactId >slf4j-log4j12</artifactId >
124+ <artifactId >jcl-over-slf4j</artifactId >
125+ <!-- <scope>runtime</scope> --> <!-- some spring dependencies need to compile against jcl -->
80126 <version >${org.slf4j.version} </version >
81127 </dependency >
82- <!-- common -->
83- <dependency >
84- <groupId >commons-fileupload</groupId >
85- <artifactId >commons-fileupload</artifactId >
86- <version >1.3.1</version >
87- </dependency >
88-
128+ <dependency > <!-- needed to bridge to slf4j for projects that use the log4j APIs directly -->
129+ <groupId >org.slf4j</groupId >
130+ <artifactId >log4j-over-slf4j</artifactId >
131+ <version >${org.slf4j.version} </version >
132+ </dependency >
133+
89134 <!-- test scoped -->
90135 <dependency >
91136 <groupId >junit</groupId >
112157 <scope >test</scope >
113158 </dependency >
114159 <dependency >
115- <groupId >com.jayway.jsonpath</groupId >
116- <artifactId >json-path</artifactId >
117- <version >2.2.0</version >
118- </dependency >
160+ <groupId >com.jayway.jsonpath</groupId >
161+ <artifactId >json-path</artifactId >
162+ <version >2.2.0</version >
163+ <scope >test</scope >
164+ </dependency >
119165 <dependency >
120166 <groupId >org.springframework</groupId >
121167 <artifactId >spring-test</artifactId >
122168 <version >${org.springframework.version} </version >
123169 <scope >test</scope >
124170 </dependency >
125- <!-- Thymeleaf -->
126- <dependency >
127- <groupId >org.thymeleaf</groupId >
128- <artifactId >thymeleaf-spring4</artifactId >
129- <version >${thymeleaf.version} </version >
130- </dependency >
131- <dependency >
132- <groupId >org.thymeleaf</groupId >
133- <artifactId >thymeleaf</artifactId >
134- <version >${thymeleaf.version} </version >
135- </dependency >
136-
137- <!-- Json conversion -->
138- <dependency >
139- <groupId >com.fasterxml.jackson.core</groupId >
140- <artifactId >jackson-core</artifactId >
141- <version >2.1.2</version >
142- </dependency >
143- <dependency >
144- <groupId >com.fasterxml.jackson.core</groupId >
145- <artifactId >jackson-databind</artifactId >
146- <version >2.1.2</version >
147- </dependency >
148-
171+
149172 </dependencies >
150173
151174 <build >
215238 </plugin >
216239 </plugins >
217240 </build >
218-
241+
219242 <properties >
220243 <!-- Spring -->
221244 <org .springframework.version>4.2.5.RELEASE</org .springframework.version>
225248 <hibernate .version>4.3.11.Final</hibernate .version>
226249 <mysql-connector-java .version>5.1.38</mysql-connector-java .version>
227250 <!-- logging -->
228- <org .slf4j.version>1.7.13</org .slf4j.version>
229- <logback .version>1.1.3</logback .version>
251+ <org .slf4j.version>1.7.21</org .slf4j.version>
252+ <logback .version>1.1.5</logback .version>
253+
230254 <!-- various -->
231255 <hibernate-validator .version>5.2.2.Final</hibernate-validator .version>
232256 <!-- util -->
245269 <maven-surefire-plugin .version>2.19.1</maven-surefire-plugin .version>
246270 <maven-resources-plugin .version>2.7</maven-resources-plugin .version>
247271 <cargo-maven2-plugin .version>1.4.18</cargo-maven2-plugin .version>
248-
272+
249273 <!-- AspectJ -->
250274 <aspectj .version>1.8.7</aspectj .version>
251275 </properties >
252-
276+
253277</project >
0 commit comments