You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kw...@apache.org on 2022/11/10 14:41:48 UTC

[maven-parent] 01/01: [MPOM-354] leverage new report plugin

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

kwin pushed a commit to branch feature/use-new-plugin-report-plugin
in repository https://gitbox.apache.org/repos/asf/maven-parent.git

commit 0656f9676bfa792e7270812633b33fbdb35b7cf8
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Nov 10 15:41:41 2022 +0100

    [MPOM-354] leverage new report plugin
    
    use javadoc from plugin documentation
---
 maven-plugins/pom.xml | 17 ++++++++++++++++-
 pom.xml               |  2 +-
 2 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/maven-plugins/pom.xml b/maven-plugins/pom.xml
index 60113d8..84bdeb7 100644
--- a/maven-plugins/pom.xml
+++ b/maven-plugins/pom.xml
@@ -77,6 +77,9 @@ under the License.
             <execution>
               <id>default-descriptor</id>
               <phase>process-classes</phase>
+              <configuration>
+                <internalJavadocBaseUrl>./apidocs/</internalJavadocBaseUrl>
+              </configuration>
             </execution>
             <execution>
               <id>generate-helpmojo</id>
@@ -145,9 +148,21 @@ under the License.
 
   <reporting>
     <plugins>
+       <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <reportSets>
+          <reportSet>
+            <id>default</id>
+            <reports>
+              <report>javadoc</report>
+            </reports>
+          </reportSet>
+        </reportSets>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-plugin-plugin</artifactId>
+        <artifactId>maven-plugin-report-plugin</artifactId>
       </plugin>
     </plugins>
   </reporting>
diff --git a/pom.xml b/pom.xml
index 44d8342..8abe0b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@ under the License.
   <parent>
     <groupId>org.apache</groupId>
     <artifactId>apache</artifactId>
-    <version>27</version>
+    <version>28-SNAPSHOT</version>
     <relativePath>../asf/pom.xml</relativePath>
   </parent>