From: Dmitry Timofeev Date: Wed, 13 Feb 2019 20:19:48 +0000 (+0200) Subject: Make the project build on Java 11 (#278) X-Git-Tag: release-3.0.0~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fd3942b69d6239fa3dfe80b1972a371b478fec03;p=pf4j.git Make the project build on Java 11 (#278) --- diff --git a/.travis.yml b/.travis.yml index 6856742..90b2770 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,5 +4,6 @@ jdk: # JDK7 is not supported anymore; https://github.com/travis-ci/travis-ci/issues/7884#issuecomment-308451879 # - oraclejdk7 - oraclejdk8 + - openjdk11 after_success: - mvn clean cobertura:cobertura coveralls:report diff --git a/demo/app/pom.xml b/demo/app/pom.xml index 6075e42..3335fbe 100644 --- a/demo/app/pom.xml +++ b/demo/app/pom.xml @@ -42,7 +42,6 @@ org.apache.maven.plugins maven-jar-plugin - 2.3.1 diff --git a/demo/plugins/pom.xml b/demo/plugins/pom.xml index 5e03732..dc7a8fc 100644 --- a/demo/plugins/pom.xml +++ b/demo/plugins/pom.xml @@ -31,7 +31,6 @@ org.apache.maven.plugins maven-compiler-plugin - 3.7.0 ${java.version} ${java.version} diff --git a/pom.xml b/pom.xml index 1ae16f6..6de3eef 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,7 @@ 7.0 4.12 - 2.0.28-beta + 2.24.0 2.7 3.1.0 @@ -58,24 +58,39 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - 2.3.2 - - ${java.version} - ${java.version} - true - - + + + + maven-compiler-plugin + 3.8.0 + + true + ${java.version} + ${java.version} + + + + + maven-surefire-plugin + 2.22.1 + + + + maven-jar-plugin + 2.6 + + + + org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.0.1 ${javadoc.disabled} + none + false @@ -89,7 +104,7 @@ org.apache.maven.plugins maven-source-plugin - 2.2 + 3.0.1 ${source.disabled} @@ -125,12 +140,11 @@ org.apache.maven.plugins maven-resources-plugin - 2.4.3 + 3.1.0 maven-jar-plugin - 2.4 @@ -150,12 +164,15 @@ - jdk8-build + + jdk11-build - [1.8,) + [11, 12) - -Xdoclint:none + true