Skip to content

Commit f46002d

Browse files
committed
Fix dependencies
Removed h2 from compile scope. Removed unnecessary dependencies.
1 parent 22dbc34 commit f46002d

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

mybatis-spring-boot-autoconfigure/pom.xml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,6 @@
6161
<groupId>org.springframework.boot</groupId>
6262
<artifactId>spring-boot-starter-jdbc</artifactId>
6363
</dependency>
64-
<dependency>
65-
<groupId>com.h2database</groupId>
66-
<artifactId>h2</artifactId>
67-
</dependency>
6864
<!-- @ConfigurationProperties annotation processing (metadata for IDEs) -->
6965
<dependency>
7066
<groupId>org.springframework.boot</groupId>
@@ -73,11 +69,17 @@
7369
</dependency>
7470

7571
<!-- Test dependencies -->
72+
<dependency>
73+
<groupId>com.h2database</groupId>
74+
<artifactId>h2</artifactId>
75+
<scope>test</scope>
76+
</dependency>
7677
<dependency>
7778
<groupId>junit</groupId>
7879
<artifactId>junit</artifactId>
7980
<scope>test</scope>
8081
</dependency>
82+
<!-- Just needed to use to run the project with MyBatis snapshots in eclipse -->
8183
<dependency>
8284
<groupId>ognl</groupId>
8385
<artifactId>ognl</artifactId>
@@ -93,9 +95,8 @@
9395
<dependency>
9496
<groupId>org.javassist</groupId>
9597
<artifactId>javassist</artifactId>
96-
<version>3.20.0-GA</version>
98+
<version>3.20.0-GA</version><!--$NO-MVN-MAN-VER$-->
9799
<scope>test</scope>
98-
</dependency>
99-
100+
</dependency>
100101
</dependencies>
101102
</project>

mybatis-spring-boot-autoconfigure/src/site/xdoc/index.xml.vm

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
#*
2+
* Copyright 2015-2016 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*#
116
<?xml version="1.0" encoding="UTF-8"?>
217
<!--
318

mybatis-spring-boot-starter/pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
<artifactId>mybatis-spring-boot-starter</artifactId>
2727
<name>mybatis-spring-boot-starter</name>
2828
<dependencies>
29-
<dependency>
30-
<groupId>org.springframework.boot</groupId>
31-
<artifactId>spring-boot-starter</artifactId>
32-
</dependency>
33-
<dependency>
34-
<groupId>org.springframework.boot</groupId>
35-
<artifactId>spring-boot-starter-jdbc</artifactId>
36-
</dependency>
3729
<dependency>
3830
<groupId>org.mybatis.spring.boot</groupId>
3931
<artifactId>mybatis-spring-boot-autoconfigure</artifactId>

0 commit comments

Comments
 (0)