Skip to content

Commit bc7ed62

Browse files
committed
Upgrade dependency artifacts to latest version #1207
* log4j-core 2.3 -> 2.5 * cglib 3.2.5 -> 3.2.6 * junit-vintage-engine 4.12.2 -> 5.1.0 * hsqldb 2.3.5 -> 2.4.0 * derby 10.12.1.1 -> 10.14.1.0 * mockito-core 2.12.0 -> 2.16.0 * commons-dbcp 1.x -> commons-dbcp2 2.2.0 * jboss-transaction-api_1.2_spec 1.0.1 -> 1.1.1 * postgresql 42.1.4.jre6 -> 42.2.1 * assertj-core 1.7.1 -> 3.9.1 * catch-exception 1.4.4 -> 1.4.6 * postgresql-embedded 2.5 -> 2.8
1 parent 490ac00 commit bc7ed62

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

pom.xml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<dependency>
153153
<groupId>ognl</groupId>
154154
<artifactId>ognl</artifactId>
155-
<version>3.1.16</version>
155+
<version>3.1.16</version> <!-- Keep to use 3.1.x because 3.2.2+ occurred a RuntimeException on OgnlContext -->
156156
<scope>compile</scope>
157157
<optional>true</optional>
158158
</dependency>
@@ -181,11 +181,10 @@
181181
<version>1.2.17</version>
182182
<optional>true</optional>
183183
</dependency>
184-
<!-- Don't upgrade to 2.4+ until mybatis switches to java 7 -->
185184
<dependency>
186185
<groupId>org.apache.logging.log4j</groupId>
187186
<artifactId>log4j-core</artifactId>
188-
<version>2.3</version>
187+
<version>2.5</version> <!-- 2.6+ occurred a compile error on Log4j2AbstractLoggerImpl (This compile error will resolve on other issue) -->
189188
<optional>true</optional>
190189
</dependency>
191190
<dependency>
@@ -197,46 +196,45 @@
197196
<dependency>
198197
<groupId>cglib</groupId>
199198
<artifactId>cglib</artifactId>
200-
<version>3.2.5</version>
199+
<version>3.2.6</version>
201200
<optional>true</optional>
202201
</dependency>
203202

204203
<!-- Test dependencies -->
205204
<dependency>
206205
<groupId>org.junit.vintage</groupId>
207206
<artifactId>junit-vintage-engine</artifactId>
208-
<version>4.12.2</version>
207+
<version>5.1.0</version>
209208
<scope>test</scope>
210209
</dependency>
211210
<dependency>
212211
<groupId>org.hsqldb</groupId>
213212
<artifactId>hsqldb</artifactId>
214-
<version>2.3.5</version> <!-- Version 2.4.0 required jdk8 -->
213+
<version>2.4.0</version>
215214
<scope>test</scope>
216215
</dependency>
217216
<dependency>
218217
<groupId>org.apache.derby</groupId>
219218
<artifactId>derby</artifactId>
220-
<version>10.12.1.1</version>
219+
<version>10.14.1.0</version>
221220
<scope>test</scope>
222221
</dependency>
223222
<dependency>
224223
<groupId>org.mockito</groupId>
225224
<artifactId>mockito-core</artifactId>
226-
<version>2.12.0</version>
225+
<version>2.16.0</version>
227226
<scope>test</scope>
228227
</dependency>
229-
<!-- Do not go to 2.x until we are on jdk7 -->
230228
<dependency>
231-
<groupId>commons-dbcp</groupId>
232-
<artifactId>commons-dbcp</artifactId>
233-
<version>1.4</version>
229+
<groupId>org.apache.commons</groupId>
230+
<artifactId>commons-dbcp2</artifactId>
231+
<version>2.2.0</version>
234232
<scope>test</scope>
235233
</dependency>
236234
<dependency>
237235
<groupId>org.jboss.spec.javax.transaction</groupId>
238236
<artifactId>jboss-transaction-api_1.2_spec</artifactId>
239-
<version>1.0.1.Final</version>
237+
<version>1.1.1.Final</version>
240238
<scope>test</scope>
241239
</dependency>
242240
<dependency>
@@ -249,25 +247,25 @@
249247
<dependency>
250248
<groupId>org.postgresql</groupId>
251249
<artifactId>postgresql</artifactId>
252-
<version>42.1.4.jre6</version>
250+
<version>42.2.1</version>
253251
<scope>test</scope>
254252
</dependency>
255253
<dependency>
256254
<groupId>org.assertj</groupId>
257255
<artifactId>assertj-core</artifactId>
258-
<version>1.7.1</version> <!-- Stay on 1.7.1 to support Java 6 -->
256+
<version>3.9.1</version>
259257
<scope>test</scope>
260258
</dependency>
261259
<dependency>
262260
<groupId>eu.codearte.catch-exception</groupId>
263261
<artifactId>catch-exception</artifactId>
264-
<version>1.4.4</version>
262+
<version>1.4.6</version>
265263
<scope>test</scope>
266264
</dependency>
267265
<dependency>
268266
<groupId>ru.yandex.qatools.embed</groupId>
269267
<artifactId>postgresql-embedded</artifactId>
270-
<version>2.5</version>
268+
<version>2.8</version>
271269
<scope>test</scope>
272270
</dependency>
273271
</dependencies>

0 commit comments

Comments
 (0)