You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by na...@apache.org on 2020/04/16 11:23:38 UTC
[jclouds] branch master updated: Fix javadoc generation on JDK >= 8
(#67)
This is an automated email from the ASF dual-hosted git repository.
nacx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jclouds.git
The following commit(s) were added to refs/heads/master by this push:
new 413ee30 Fix javadoc generation on JDK >= 8 (#67)
413ee30 is described below
commit 413ee3072024cee9a198dc08dd5136d7789a0998
Author: Fritz Elfert <fr...@fritz-elfert.de>
AuthorDate: Thu Apr 16 13:23:31 2020 +0200
Fix javadoc generation on JDK >= 8 (#67)
---
pom.xml | 3 +++
project/pom.xml | 14 ++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/pom.xml b/pom.xml
index 206f1de..155453e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,6 +83,9 @@
<plugins>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
+ <configuration>
+ <additionalparam>${javadoc.opts}</additionalparam>
+ </configuration>
<executions>
<execution>
<id>javadoc</id>
diff --git a/project/pom.xml b/project/pom.xml
index 4f8d39a..a9c47f5 100644
--- a/project/pom.xml
+++ b/project/pom.xml
@@ -886,6 +886,7 @@
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
<maxmemory>512m</maxmemory>
+ <additionalparam>${javadoc.opts}</additionalparam>
</configuration>
<reportSets>
<reportSet>
@@ -987,6 +988,7 @@
<maxmemory>512m</maxmemory>
<encoding>${project.build.sourceEncoding}</encoding>
<quiet>true</quiet>
+ <additionalparam>${javadoc.opts}</additionalparam>
<links>
<link>https://download.oracle.com/javase/6/docs/api/</link>
</links>
@@ -1209,6 +1211,15 @@
</reporting>
<profiles>
<profile>
+ <id>disable-doclint</id>
+ <activation>
+ <jdk>[1.8,)</jdk>
+ </activation>
+ <properties>
+ <javadoc.opts>-Xdoclint:none</javadoc.opts>
+ </properties>
+ </profile>
+ <profile>
<id>live</id>
<build>
<plugins>
@@ -1421,6 +1432,9 @@
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9</version>
+ <configuration>
+ <additionalparam>${javadoc.opts}</additionalparam>
+ </configuration>
<executions>
<execution>
<id>javadoc</id>