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

lukaszlenart pushed a commit to branch fix/javadoc
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 3c2cc81867e0b3da3ed0c98adb170bbf72b17906
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Mon Mar 3 09:43:45 2025 +0100

    Uses proper config to avoid failing a build when generating JavaDocs
---
 pom.xml | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 8cb68b6d4..7490f4471 100644
--- a/pom.xml
+++ b/pom.xml
@@ -270,6 +270,16 @@
                     <artifactId>maven-source-plugin</artifactId>
                     <version>3.3.1</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-javadoc-plugin</artifactId>
+                    <version>3.11.2</version>
+                    <configuration>
+                        <doclint>none</doclint>
+                        <failOnError>false</failOnError>
+                        <source>8</source>
+                    </configuration>
+                </plugin>
                 <plugin>
                     <groupId>org.apache.rat</groupId>
                     <artifactId>apache-rat-plugin</artifactId>
@@ -440,10 +450,6 @@
                         </reports>
                     </reportSet>
                 </reportSets>
-                <configuration>
-                    <doclint>none</doclint>
-                    <failOnError>false</failOnError>
-                </configuration>
             </plugin>
             <plugin>
                 <groupId>org.apache.rat</groupId>

Reply via email to