Skip to content

Commit 962cf02

Browse files
committed
chore: migrate away from commons-dbcp to HikariCP.
Prerequisite for #869 Fix #19
1 parent aa43861 commit 962cf02

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

pom.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,14 @@
219219
<scope>runtime</scope>
220220
</dependency>
221221

222-
<!-- Dependencies which used only in prod environment -->
223222
<dependency>
224-
<groupId>commons-dbcp</groupId>
225-
<artifactId>commons-dbcp</artifactId>
226-
<version>${commons-dbcp.version}</version>
223+
<groupId>com.zaxxer</groupId>
224+
<artifactId>HikariCP</artifactId>
225+
<version>${hikaricp.version}</version>
227226
<scope>runtime</scope>
228227
</dependency>
228+
229+
<!-- Dependencies which used only in prod environment -->
229230
<dependency>
230231
<groupId>mysql</groupId>
231232
<artifactId>mysql-connector-java</artifactId>
@@ -469,9 +470,6 @@
469470
<codenarc.plugin.version>0.22-1</codenarc.plugin.version>
470471
<codenarc.version>0.27.0</codenarc.version>
471472

472-
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
473-
<commons-dbcp.version>1.4</commons-dbcp.version>
474-
475473
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
476474
<commons-pool.version>1.5.4</commons-pool.version>
477475

@@ -499,6 +497,9 @@
499497
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
500498
<hibernate-validator.version>5.4.2.Final</hibernate-validator.version>
501499

500+
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
501+
<hikaricp.version>3.4.1</hikaricp.version>
502+
502503
<!-- Redefine default value from spring-boot-dependencies (https://github.com/spring-projects/spring-boot/blob/v1.5.22.RELEASE/spring-boot-dependencies/pom.xml) -->
503504
<htmlunit.version>2.36.0</htmlunit.version>
504505

0 commit comments

Comments
 (0)