Skip to content

Commit 46fa7b5

Browse files
pom.xml: add profile that allows build on java 9
.travis.yml: add oraclejdk9 build
1 parent c898e48 commit 46fa7b5

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ sudo: false
1919
jdk:
2020
- openjdk7
2121
- oraclejdk8
22+
- oraclejdk9
2223

2324
script:
2425
- mvn

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,5 +455,17 @@ file comparators, endian transformation classes, and much more.
455455
</plugins>
456456
</build>
457457
</profile>
458+
<profile>
459+
<id>java9</id>
460+
<activation>
461+
<jdk>9</jdk>
462+
</activation>
463+
<properties>
464+
<!-- versions below 3.0.0 do not work with java 9 -->
465+
<commons.javadoc.version>3.0.0-M1</commons.javadoc.version>
466+
<!-- coverall version 4.3.0 does not work with java 9, see https://github.com/trautonen/coveralls-maven-plugin/issues/112 -->
467+
<coveralls.skip>true</coveralls.skip>
468+
</properties>
469+
</profile>
458470
</profiles>
459471
</project>

0 commit comments

Comments
 (0)