hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [43/48] hadoop git commit: HADOOP-15902. [JDK 11] Specify the HTML version of Javadoc to 4.01. Contributed by Takanobu Asanuma.
Date Tue, 06 Nov 2018 18:06:17 GMT
HADOOP-15902. [JDK 11] Specify the HTML version of Javadoc to 4.01. Contributed by Takanobu
Asanuma.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/78e43bcc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/78e43bcc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/78e43bcc

Branch: refs/heads/HDFS-13532
Commit: 78e43bccf655153d5fc8fc891d59c536354d8031
Parents: 6430c98
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Tue Nov 6 20:44:05 2018 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Tue Nov 6 20:44:05 2018 +0900

----------------------------------------------------------------------
 hadoop-project/pom.xml | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/78e43bcc/hadoop-project/pom.xml
----------------------------------------------------------------------
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 937f21f..5d38167 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -2002,6 +2002,26 @@
         </dependencies>
       </dependencyManagement>
     </profile>
+    <profile>
+      <!-- TODO: remove this profile to generate html5 docs when we stop supporting JDK8
-->
+      <id>javadoc-html-version</id>
+      <activation>
+        <jdk>[11,)</jdk>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-javadoc-plugin</artifactId>
+            <configuration>
+              <additionalOptions>
+                <additionalOption>-html4</additionalOption>
+              </additionalOptions>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <repositories>


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message