You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2019/07/27 12:47:13 UTC

[bookkeeper] branch master updated: Make build pass on JDK11, fix javadoc configuration

This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new 5311e00  Make build pass on JDK11, fix javadoc configuration
5311e00 is described below

commit 5311e00f399ae3b5cb39fe03d8b5dd8c0547de14
Author: Enrico Olivelli <eo...@gmail.com>
AuthorDate: Sat Jul 27 14:47:07 2019 +0200

    Make build pass on JDK11, fix javadoc configuration
    
    
    Descriptions of the changes in this PR:
    
    ### Motivation
    
    Build fails on recent JDK11 versions and on JDK11, see #2133, this is because javadoc has problems with references to core Java API when source version is set to 8.
    
    ### Changes
    Upgrade Java doc plugin to latest 3.1.1 and disable auto linking to core Java classes with
    `<detectJavaApiLink>false</detectJavaApiLink>
    `
    Closes #2133
    
    
    
    
    Reviewers: Sijie Guo <None>
    
    This closes #2134 from eolivelli/fix/javadoc-jdk11
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index fddb3ba..4e496b2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -188,7 +188,7 @@
     <maven-deploy-plugin.version>2.7</maven-deploy-plugin.version>
     <maven-install-plugin.version>2.5.1</maven-install-plugin.version>
     <maven-jar-plugin.version>2.4</maven-jar-plugin.version>
-    <maven-javadoc-plugin.version>3.0.0</maven-javadoc-plugin.version>
+    <maven-javadoc-plugin.version>3.1.1</maven-javadoc-plugin.version>
     <maven-shade-plugin.version>3.1.0</maven-shade-plugin.version>
     <maven-source-plugin.version>2.2.1</maven-source-plugin.version>
     <maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
@@ -904,6 +904,7 @@
           <doctitle>BookKeeper Java API (version ${project.version})</doctitle>
           <overview>site/_site/overview/index.html</overview>
           <show>package</show>
+          <detectJavaApiLink>false</detectJavaApiLink>
         </configuration>
         <executions>
           <execution>