Skip to content

Commit a080b24

Browse files
kinowmr-c
authored andcommitted
Add dependencies for Postgres with Spring Data
1 parent 15d269f commit a080b24

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

pom.xml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@
5252

5353
<dependencies>
5454
<!-- SpringBoot -->
55-
<dependency>
56-
<groupId>org.springframework.boot</groupId>
57-
<artifactId>spring-boot-starter-data-mongodb</artifactId>
58-
</dependency>
5955
<dependency>
6056
<groupId>org.springframework.boot</groupId>
6157
<artifactId>spring-boot-starter-thymeleaf</artifactId>
@@ -65,11 +61,21 @@
6561
<artifactId>spring-boot-starter-web</artifactId>
6662
</dependency>
6763
<!-- Spring Data -->
64+
<dependency>
65+
<groupId>org.springframework.boot</groupId>
66+
<artifactId>spring-boot-starter-data-jpa</artifactId>
67+
</dependency>
6868
<dependency>
6969
<groupId>org.springframework.data</groupId>
7070
<artifactId>spring-data-commons</artifactId>
7171
<version>2.6.2</version>
7272
</dependency>
73+
<!-- Postgres -->
74+
<dependency>
75+
<groupId>org.postgresql</groupId>
76+
<artifactId>postgresql</artifactId>
77+
<scope>runtime</scope>
78+
</dependency>
7379
<!-- YAML -->
7480
<dependency>
7581
<groupId>org.yaml</groupId>
@@ -141,11 +147,6 @@
141147
<version>1.10.19</version>
142148
<scope>test</scope>
143149
</dependency>
144-
<dependency>
145-
<groupId>de.flapdoodle.embed</groupId>
146-
<artifactId>de.flapdoodle.embed.mongo</artifactId>
147-
<scope>test</scope>
148-
</dependency>
149150
</dependencies>
150151

151152
<build>

0 commit comments

Comments
 (0)