You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by mi...@apache.org on 2020/09/07 07:21:52 UTC

[httpcomponents-core] 07/09: Unify Javadoc report config

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

michaelo pushed a commit to branch master-pom-cleanup
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git

commit 5c5f3101afd32ade84dc6de60a78c23896a6693d
Author: Michael Osipov <mi...@apache.org>
AuthorDate: Mon Sep 7 09:19:12 2020 +0200

    Unify Javadoc report config
---
 httpcore5-h2/pom.xml       | 22 ----------------------
 httpcore5-reactive/pom.xml | 21 ---------------------
 httpcore5-testing/pom.xml  | 23 -----------------------
 httpcore5/pom.xml          | 21 ---------------------
 pom.xml                    | 25 ++++++++++++++++++++-----
 5 files changed, 20 insertions(+), 92 deletions(-)

diff --git a/httpcore5-h2/pom.xml b/httpcore5-h2/pom.xml
index a6d6c0a..0a87b70 100644
--- a/httpcore5-h2/pom.xml
+++ b/httpcore5-h2/pom.xml
@@ -105,28 +105,6 @@
 
   <reporting>
     <plugins>
-
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${hc.javadoc.version}</version>
-        <configuration>
-          <!-- reduce console output. Can override with -Dquiet=false -->
-          <quiet>true</quiet>
-          <source>${maven.compiler.source}</source>
-          <links>
-            <link>http://docs.oracle.com/javase/7/docs/api/</link>
-            <link>http://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/</link>
-          </links>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>javadoc</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <inherited>false</inherited>
diff --git a/httpcore5-reactive/pom.xml b/httpcore5-reactive/pom.xml
index 0df61c2..4fcd320 100644
--- a/httpcore5-reactive/pom.xml
+++ b/httpcore5-reactive/pom.xml
@@ -92,27 +92,6 @@
 
   <reporting>
     <plugins>
-
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${hc.javadoc.version}</version>
-        <configuration>
-          <!-- reduce console output. Can override with -Dquiet=false -->
-          <quiet>true</quiet>
-          <source>${maven.compiler.source}</source>
-          <links>
-            <link>http://docs.oracle.com/javase/7/docs/api/</link>
-          </links>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>javadoc</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <inherited>false</inherited>
diff --git a/httpcore5-testing/pom.xml b/httpcore5-testing/pom.xml
index c1d8d46..a7af467 100644
--- a/httpcore5-testing/pom.xml
+++ b/httpcore5-testing/pom.xml
@@ -162,29 +162,6 @@
 
   <reporting>
     <plugins>
-
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${hc.javadoc.version}</version>
-        <configuration>
-          <!-- reduce console output. Can override with -Dquiet=false -->
-          <quiet>true</quiet>
-          <source>${maven.compiler.source}</source>
-          <links>
-            <link>http://docs.oracle.com/javase/7/docs/api/</link>
-            <link>http://hc.apache.org/httpcomponents-core-5.0.x/httpcore5/apidocs/</link>
-            <link>http://hc.apache.org/httpcomponents-core-5.0.x/httpcore5-h2/apidocs/</link>
-          </links>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>javadoc</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <inherited>false</inherited>
diff --git a/httpcore5/pom.xml b/httpcore5/pom.xml
index 3c486a6..c0a0636 100644
--- a/httpcore5/pom.xml
+++ b/httpcore5/pom.xml
@@ -128,27 +128,6 @@
 
   <reporting>
     <plugins>
-
-      <plugin>
-        <artifactId>maven-javadoc-plugin</artifactId>
-        <version>${hc.javadoc.version}</version>
-        <configuration>
-          <!-- reduce console output. Can override with -Dquiet=false -->
-          <quiet>true</quiet>
-          <source>${maven.compiler.source}</source>
-          <links>
-            <link>http://docs.oracle.com/javase/7/docs/api/</link>
-          </links>
-        </configuration>
-        <reportSets>
-          <reportSet>
-            <reports>
-              <report>javadoc</report>
-            </reports>
-          </reportSet>
-        </reportSets>
-      </plugin>
-
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
         <inherited>false</inherited>
diff --git a/pom.xml b/pom.xml
index eb98449..448849e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -125,11 +125,9 @@
       <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>
-          <!-- reduce console output. Can override with -Dquiet=false -->
-          <quiet>true</quiet>
-          <source>${maven.compiler.source}</source>
           <links>
-            <link>http://docs.oracle.com/javase/7/docs/api/</link>
+            <link>${project.url}/httpcore5/apidocs/</link>
+            <link>${project.url}/httpcore5-h2/apidocs/</link>
           </links>
         </configuration>
       </plugin>
@@ -250,7 +248,24 @@
           </reportSet>
         </reportSets>
       </plugin>
-
+      <plugin>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>${hc.javadoc.version}</version>
+        <configuration>
+          <quiet>true</quiet>
+          <links>
+            <link>${project.url}/httpcore5/apidocs/</link>
+            <link>${project.url}/httpcore5-h2/apidocs/</link>
+          </links>
+        </configuration>
+        <reportSets>
+          <reportSet>
+            <reports>
+              <report>javadoc</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>clirr-maven-plugin</artifactId>