You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by xy...@apache.org on 2023/05/31 16:51:17 UTC

[helix] branch master updated: Fix the Helix API - javadoc (#2510)

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

xyuanlu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/helix.git


The following commit(s) were added to refs/heads/master by this push:
     new aeb4f0b23 Fix the Helix API - javadoc (#2510)
aeb4f0b23 is described below

commit aeb4f0b2322b55bd839a62c48823ea13ccd2693d
Author: Komal Desai <98...@users.noreply.github.com>
AuthorDate: Wed May 31 09:51:11 2023 -0700

    Fix the Helix API - javadoc (#2510)
    
    Co-authored-by: Komal Desai <kd...@kdesai-mn1.linkedin.biz>
---
 pom.xml | 50 ++++++++++++++++++++++----------------------------
 1 file changed, 22 insertions(+), 28 deletions(-)

diff --git a/pom.xml b/pom.xml
index e7942cf3f..e2fb35237 100644
--- a/pom.xml
+++ b/pom.xml
@@ -674,6 +674,14 @@
             </excludes>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-javadoc-plugin</artifactId>
+          <version>3.5.0</version>
+          <configuration>
+            <failOnError>true</failOnError>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -832,41 +840,27 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
-        <version>2.9</version>
-        <inherited>false</inherited>
+        <version>3.5.0</version>
+        <configuration>
+          <stylesheetfile>javadocstyle.css</stylesheetfile>
+          <reportOutputDirectory>site</reportOutputDirectory>
+          <destDir>apidocs</destDir>
+          <aggregate>true</aggregate>
+        </configuration>
         <reportSets>
           <reportSet>
-            <inherited>false</inherited>
+            <id>non-aggregate</id>
+            <reports>
+              <report>javadoc</report>
+            </reports>
+          </reportSet>
+          <reportSet>
+            <id>aggregate</id>
             <reports>
               <report>aggregate</report>
             </reports>
           </reportSet>
         </reportSets>
-        <configuration>
-          <docletArtifact>
-            <groupId>com.google.doclava</groupId>
-            <artifactId>doclava</artifactId>
-            <version>1.0.5</version>
-          </docletArtifact>
-          <doclet>com.google.doclava.Doclava</doclet>
-          <!--
-            | bootclasspath required by Sun's JVM
-          -->
-          <bootclasspath>${sun.boot.class.path}</bootclasspath>
-          <additionalparam>
-            -quiet
-            -federate JDK http://download.oracle.com/javase/6/docs/api/index.html?
-            -federationxml JDK http://doclava.googlecode.com/svn/static/api/openjdk-6.xml
-            -hdf project.name "${project.name}"
-            -d ${project.build.directory}/site/apidocs
-          </additionalparam>
-          <useStandardDocletOptions>false</useStandardDocletOptions>
-          <!--
-            | Apple's JVM sometimes requires more memory
-          -->
-          <additionalJOption>-J-Xmx1024m</additionalJOption>
-          <notimestamp>true</notimestamp>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>