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-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 17bbe77  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/7/docs/api/ are in 
the unnamed module."
17bbe77 is described below

commit 17bbe7726265b2125f31ab9a9eaee86057e98df5
Author: pascalschumacher <pascalschumac...@gmx.net>
AuthorDate: Fri Feb 8 19:50:44 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/7/docs/api/ are in 
the unnamed module."
---
 pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/pom.xml b/pom.xml
index 96d688b..ce7e595 100644
--- a/pom.xml
+++ b/pom.xml
@@ -903,6 +903,19 @@
     </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 "Exit code: 1 - javadoc: error 
- The code being documented uses modules
+             but the packages defined in 
https://docs.oracle.com/javase/7/docs/api/ are in the unnamed module."  -->
+        <maven.javadoc.skip>true</maven.javadoc.skip>
+      </properties>
+    </profile>
+
+    <profile>
       <id>benchmark</id>
       <properties>
         <skipTests>true</skipTests>

Reply via email to