You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/02/26 13:42:37 UTC

[maven-javadoc-plugin] branch openj9-footer updated (6a3c8852 -> 55f4f7fc)

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

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


 discard 6a3c8852 (doc) ci fix: adopt-openj9 does not support the footer param
     new 55f4f7fc (doc) ci fix: adopt-openj9 does not support the footer param

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (6a3c8852)
            \
             N -- N -- N   refs/heads/openj9-footer (55f4f7fc)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven.yml                                        | 2 +-
 .../java/org/apache/maven/plugins/javadoc/JavadocReportTest.java   | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)


[maven-javadoc-plugin] 01/01: (doc) ci fix: adopt-openj9 does not support the footer param

Posted by sl...@apache.org.
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 55f4f7fc16548c88fb7570d9ef340695b723f9c4
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Sun Feb 26 13:40:26 2023 +0100

    (doc) ci fix: adopt-openj9 does not support the footer param
---
 .../apache/maven/plugins/javadoc/JavadocReportTest.java   | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

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..cf462657 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -871,16 +871,23 @@ public class JavadocReportTest extends AbstractMojoTestCase {
         String content = readFile(overview);
         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 param
+        if (!System.getProperty("java.vm.name").contains("OpenJ9")) {
+            assertThat(content).contains("Footer - Copyright &#169; All rights reserved.");
+        }
 
         Path packageSummary = apidocs.resolve("jdk6/test/package-summary.html");
         assertThat(packageSummary).exists();
         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 param
+        if (!System.getProperty("java.vm.name").contains("OpenJ9")) {
+            assertThat(content).contains("Footer - Copyright &#169; All rights reserved.");
+        }
     }
 
     /**