travis: add openjdk11
Fix build for Java 11
This commit is contained in:
@@ -6,6 +6,7 @@ cache:
|
|||||||
- $HOME/.m2
|
- $HOME/.m2
|
||||||
jdk:
|
jdk:
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
- openjdk11
|
||||||
install: true
|
install: true
|
||||||
script: ./travis/build.sh
|
script: ./travis/build.sh
|
||||||
notifications:
|
notifications:
|
||||||
|
|||||||
@@ -184,6 +184,14 @@
|
|||||||
<groupId>com.github.kongchen</groupId>
|
<groupId>com.github.kongchen</groupId>
|
||||||
<artifactId>swagger-maven-plugin</artifactId>
|
<artifactId>swagger-maven-plugin</artifactId>
|
||||||
<version>3.1.8</version>
|
<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>
|
<configuration>
|
||||||
<apiSources>
|
<apiSources>
|
||||||
<apiSource>
|
<apiSource>
|
||||||
|
|||||||
4
pom.xml
4
pom.xml
@@ -186,6 +186,10 @@
|
|||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>3.0.0-M1</version>
|
<version>3.0.0-M1</version>
|
||||||
|
<configuration>
|
||||||
|
<!-- Fix Javadoc on Java 11+ - JDK-8212233 -->
|
||||||
|
<source>8</source>
|
||||||
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
|
|||||||
Reference in New Issue
Block a user