Skip to content

Commit 219d495

Browse files
committed
pom.xml: update to use spring-boot-starter-jdbc.
1 parent 398e83f commit 219d495

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

pom.xml

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,18 @@
154154
<artifactId>spring-boot-starter-mail</artifactId>
155155
</dependency>
156156

157+
<!-- https://github.com/spring-projects/spring-boot/blob/v1.2.3.RELEASE/spring-boot-starters/spring-boot-starter-jdbc/pom.xml -->
158+
<dependency>
159+
<groupId>org.springframework.boot</groupId>
160+
<artifactId>spring-boot-starter-jdbc</artifactId>
161+
<exclusions>
162+
<exclusion>
163+
<groupId>org.apache.tomcat</groupId>
164+
<artifactId>tomcat-jdbc</artifactId>
165+
</exclusion>
166+
</exclusions>
167+
</dependency>
168+
157169
<dependency>
158170
<groupId>org.mortbay.jetty</groupId>
159171
<artifactId>servlet-api</artifactId>
@@ -185,11 +197,6 @@
185197
<artifactId>spring-orm</artifactId>
186198
</dependency>
187199

188-
<dependency>
189-
<groupId>org.springframework</groupId>
190-
<artifactId>spring-tx</artifactId>
191-
</dependency>
192-
193200
<dependency>
194201
<groupId>org.springframework.data</groupId>
195202
<artifactId>spring-data-jpa</artifactId>
@@ -461,10 +468,6 @@
461468
</dependency>
462469

463470
<!-- Dependencies which used only in test environment -->
464-
<dependency>
465-
<groupId>org.springframework</groupId>
466-
<artifactId>spring-jdbc</artifactId>
467-
</dependency>
468471
<dependency>
469472
<groupId>com.h2database</groupId>
470473
<artifactId>h2</artifactId>

0 commit comments

Comments
 (0)