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 999030a Fix Javadoc on Java 11+.
999030a is described below
commit 999030a23c214a1fdcfc2f1464183e0c752777f5
Author: pascalschumacher <[email protected]>
AuthorDate: Tue May 21 22:04:36 2019 +0200
Fix Javadoc on Java 11+.
---
pom.xml | 16 ++--------------
1 file changed, 2 insertions(+), 14 deletions(-)
diff --git a/pom.xml b/pom.xml
index 2010bba..5857196 100644
--- a/pom.xml
+++ b/pom.xml
@@ -608,6 +608,7 @@
<commons.jacoco.version>0.8.3</commons.jacoco.version>
<commons.surefire.version>3.0.0-M3</commons.surefire.version>
+ <commons.javadoc.version>3.1.0</commons.javadoc.version>
<!-- generate report even if there are binary incompatible changes -->
<commons.japicmp.breakBuildOnBinaryIncompatibleModifications>false</commons.japicmp.breakBuildOnBinaryIncompatibleModifications>
@@ -653,8 +654,8 @@
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
- <version>${commons.javadoc.version}</version>
<configuration>
+ <source>${maven.compiler.source}</source>
<quiet>true</quiet>
<encoding>utf-8</encoding>
<docEncoding>utf-8</docEncoding>
@@ -905,19 +906,6 @@
</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>