Skip to content

Commit

Permalink
travis: add openjdk11
Browse files Browse the repository at this point in the history
Fix build for Java 11
Adam- committed Mar 16, 2019
1 parent b7546bb commit b98b7ae
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ cache:
- $HOME/.m2
jdk:
- oraclejdk8
- openjdk11
install: true
script: ./travis/build.sh
notifications:
8 changes: 8 additions & 0 deletions http-service/pom.xml
Original file line number Diff line number Diff line change
@@ -184,6 +184,14 @@
<groupId>com.github.kongchen</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>3.1.8</version>
<dependencies>
<!-- Java 11+ does not include this anymore -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
<configuration>
<apiSources>
<apiSource>
4 changes: 4 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -186,6 +186,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0-M1</version>
<configuration>
<!-- Fix Javadoc on Java 11+ - JDK-8212233 -->
<source>8</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>

0 comments on commit b98b7ae

Please sign in to comment.