Skip to content

Commit 08fed02

Browse files
author
zhilingc
committed
Update core dependencies: remove jdbi, set postgres scope to runtime
1 parent abdb5aa commit 08fed02

2 files changed

Lines changed: 2 additions & 12 deletions

File tree

core/pom.xml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -170,23 +170,12 @@
170170
<version>5.3.6.Final</version>
171171
</dependency>
172172

173-
<!--compile 'org.jdbi:jdbi3:3.0.0-beta2'-->
174-
<dependency>
175-
<groupId>org.jdbi</groupId>
176-
<artifactId>jdbi3</artifactId>
177-
<version>3.0.0-beta2</version>
178-
</dependency>
179-
<!--compile 'org.jdbi:jdbi3-sqlobject:3.4.0'-->
180-
<dependency>
181-
<groupId>org.jdbi</groupId>
182-
<artifactId>jdbi3-sqlobject</artifactId>
183-
<version>3.4.0</version>
184-
</dependency>
185173
<!--compile 'org.postgresql:postgresql:42.2.5'-->
186174
<dependency>
187175
<groupId>org.postgresql</groupId>
188176
<artifactId>postgresql</artifactId>
189177
<version>42.2.5</version>
178+
<scope>runtime</scope>
190179
</dependency>
191180

192181
<dependency>

core/src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ spring:
5757
hibernate.naming.physical-strategy=org.hibernate.boot.model.naming: PhysicalNamingStrategyStandardImpl
5858
hibernate.ddl-auto: update
5959
datasource:
60+
driverClassName: org.postgresql.Driver
6061
url: jdbc:postgresql://${DB_HOST:127.0.0.1}:${DB_PORT:5432}/${DB_DATABASE:postgres}
6162
username: ${DB_USERNAME:postgres}
6263
password: ${DB_PASSWORD:password}

0 commit comments

Comments
 (0)