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

slachiewicz pushed a commit to branch openj9-footer
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git

commit 58c50681f4f5d4b6cf42df22a3210f03a1d751b4
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sun Feb 26 13:40:26 2023 +0100

    check
---
 .github/workflows/maven.yml                                       | 2 +-
 .../java/org/apache/maven/plugins/javadoc/JavadocReportTest.java  | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index e5c93cb7..a2599f30 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -26,5 +26,5 @@ jobs:
     name: Verify
     uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v2
     with:
-      jdk-distribution-matrix: '[ "temurin", "zulu", "microsoft", "liberica", 
"adopt-openj9" ]'
+      jdk-distribution-matrix: '[ "adopt-openj9" ]'
       matrix-exclude: '[{ "jdk": "8", "distribution": "microsoft"}]'
diff --git 
a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java 
b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
index 502e6d66..40d7eaee 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -879,8 +879,12 @@ public class JavadocReportTest extends 
AbstractMojoTestCase {
         content = readFile(packageSummary);
         assertThat(content)
                 .contains("Top - Copyright &#169; All rights reserved.")
-                .contains("Header - Copyright &#169; All rights reserved.")
-                .contains("Footer - Copyright &#169; All rights reserved.");
+                .contains("Header - Copyright &#169; All rights reserved.");
+
+        // IBM dist of adopt-openj9 does not support the footer
+        if (!"IBM Corporation".equals(System.getProperty("java.vendor"))) {
+            assertThat(content).contains("Footer - Copyright &#169; All rights 
reserved.");
+        }
     }
 
     /**

Reply via email to