You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2019/02/08 20:15:19 UTC

[commons-pool] branch master updated: Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233

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

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-pool.git


The following commit(s) were added to refs/heads/master by this push:
     new 9e99260  Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233
9e99260 is described below

commit 9e9926024fa1451e42f07e6fa60147d9bd70c3de
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Feb 8 15:15:14 2019 -0500

    Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233
    
    This causes javadoc to fail with "javadoc: error - The code being
    documented uses modules but the packages defined in
    https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."
---
 pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/pom.xml b/pom.xml
index b1213cf..99fb570 100644
--- a/pom.xml
+++ b/pom.xml
@@ -371,6 +371,18 @@
         <coveralls.skip>true</coveralls.skip>
       </properties>
     </profile>
+    <profile>
+      <id>java11+</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <properties>
+        <!-- Workaround for https://bugs.openjdk.java.net/browse/JDK-8212233
+             which causes javadoc to fail with "javadoc: error - The code being documented uses modules
+             but the packages defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."  -->
+        <maven.javadoc.skip>true</maven.javadoc.skip>
+      </properties>
+    </profile>
   </profiles>
 
 </project>