Skip to content

Commit af1ac41

Browse files
committed
Support JDK 9 and 10 on Travis CI
Fixes gh-275
1 parent 596620b commit af1ac41

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ sudo: false
44
jdk:
55
- oraclejdk11
66
- openjdk11
7+
- openjdk10
8+
- oraclejdk9
79
- oraclejdk8
810
- openjdk8
911

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,34 @@
127127
</build>
128128

129129
<profiles>
130+
<profile>
131+
<id>jdk9</id>
132+
<activation>
133+
<jdk>9</jdk>
134+
</activation>
135+
<dependencies>
136+
<dependency>
137+
<groupId>javax.annotation</groupId>
138+
<artifactId>javax.annotation-api</artifactId>
139+
<version>1.3.2</version>
140+
<scope>test</scope>
141+
</dependency>
142+
</dependencies>
143+
</profile>
144+
<profile>
145+
<id>jdk10</id>
146+
<activation>
147+
<jdk>10</jdk>
148+
</activation>
149+
<dependencies>
150+
<dependency>
151+
<groupId>javax.annotation</groupId>
152+
<artifactId>javax.annotation-api</artifactId>
153+
<version>1.3.2</version>
154+
<scope>test</scope>
155+
</dependency>
156+
</dependencies>
157+
</profile>
130158
<profile>
131159
<id>jdk11</id>
132160
<activation>

0 commit comments

Comments
 (0)