travis: add openjdk11
Fix build for Java 11
This commit is contained in:
@@ -6,6 +6,7 @@ cache:
|
||||
- $HOME/.m2
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
- openjdk11
|
||||
install: true
|
||||
script: ./travis/build.sh
|
||||
notifications:
|
||||
|
||||
@@ -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
pom.xml
4
pom.xml
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user