Skip to content

Commit 291e257

Browse files
authored
Merge pull request #247 from kazuki43zoo/gh-246
Support JDK9 on Travis CI
2 parents 225fa9f + 7edfebe commit 291e257

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ language: java
22
sudo: false
33

44
jdk:
5+
- oraclejdk9
56
- oraclejdk8
67
- openjdk8
78

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.mybatis</groupId>
2424
<artifactId>mybatis-parent</artifactId>
25-
<version>29</version>
25+
<version>30-SNAPSHOT</version>
2626
<relativePath/>
2727
</parent>
2828

@@ -118,6 +118,10 @@
118118
<signature.group>org.codehaus.mojo.signature</signature.group>
119119
<signature.artifact>java18</signature.artifact>
120120
<signature.version>1.0</signature.version>
121+
122+
<!-- Override: The JUnit 5 not supported maven-surefire-plugin 2.20.x yet. -->
123+
<!-- See https://github.com/junit-team/junit5/issues/809 -->
124+
<surefire.version>2.19.1</surefire.version>
121125
</properties>
122126

123127
<dependencies>
@@ -298,6 +302,14 @@
298302
</dependencies>
299303

300304
<repositories>
305+
<repository>
306+
<id>sonatype-oss-snapshots</id>
307+
<name>Sonatype OSS Snapshots Repository</name>
308+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
309+
<snapshots>
310+
<enabled>true</enabled>
311+
</snapshots>
312+
</repository>
301313
<repository>
302314
<id>spring-milestones</id>
303315
<name>Spring Milestones</name>

0 commit comments

Comments
 (0)