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 12:40:51 UTC
[maven-javadoc-plugin] 01/01: check
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 1a8d431fce9e580befbdcc20a6361a0dec23fc8d
Author: Sylwester Lachiewicz <sl...@apache.org>
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..c69001a5 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java
@@ -30,6 +30,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Objects;
+import java.util.Properties;
import org.apache.maven.execution.MavenSession;
import org.apache.maven.model.Plugin;
@@ -879,8 +880,11 @@ public class JavadocReportTest extends AbstractMojoTestCase {
content = readFile(packageSummary);
assertThat(content)
.contains("Top - Copyright © All rights reserved.")
- .contains("Header - Copyright © All rights reserved.")
- .contains("Footer - Copyright © All rights reserved.");
+ .contains("Header - Copyright © All rights reserved.");
+
+ Properties props = System.getProperties();
+ System.out.println(props);
+ assertThat(content).contains("Footer - Copyright © All rights reserved.");
}
/**