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

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


The following commit(s) were added to refs/heads/master by this push:
     new a348c98  Skip Javadoc on Java 11+ to workaround 
https://bugs.openjdk.java.net/browse/JDK-8212233 which causes Javadoc to fail 
with "Exit code: 1 - 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."
a348c98 is described below

commit a348c9871d1aedfddda1d8bb0dfc3b420d040a83
Author: Pascal Schumacher <pascalschumac...@gmx.net>
AuthorDate: Fri Feb 8 20:27:36 2019 +0100

    Skip Javadoc on Java 11+ to workaround 
https://bugs.openjdk.java.net/browse/JDK-8212233 which causes Javadoc to fail 
with "Exit code: 1 - 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 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1896c17..06b96c0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -431,12 +431,14 @@
       </properties>
     </profile>
     <profile>
-      <id>java12+</id>
+      <id>java11+</id>
       <activation>
-        <jdk>[12,)</jdk>
+        <jdk>[11,)</jdk>
       </activation>
       <properties>
-        <!-- currently fails 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." -->
+        <!-- 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>

Reply via email to