This is an automated email from the ASF dual-hosted git repository. slachiewicz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit b10620cfe6247831de2852c06a19b05907e51184 Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Thu Nov 5 14:11:57 2026 +0000 Replace placeholder copyright notices in test fixtures with neutral text --- .../org/apache/maven/plugins/javadoc/JavadocReportTest.java | 12 ++++++------ .../header-footer-test/header-footer-test-plugin-config.xml | 4 ++-- .../resources/unit/jdk6-test/jdk6-test-plugin-config.xml | 6 +++--- .../unit/newline-test/newline-test-plugin-config.xml | 6 +++--- 4 files changed, 14 insertions(+), 14 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 55ba7a84..38602bc3 100644 --- a/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java +++ b/src/test/java/org/apache/maven/plugins/javadoc/JavadocReportTest.java @@ -829,18 +829,18 @@ class JavadocReportTest { assertThat(overview).exists(); String content = readFile(overview); assertThat(content) - .contains("Top - Copyright © All rights reserved.") - .contains("Header - Copyright © All rights reserved."); - assertThat(content).contains("Footer - Copyright © All rights reserved."); + .contains("Top - Maven Javadoc Plugin test ©") + .contains("Header - Maven Javadoc Plugin test ©"); + assertThat(content).contains("Footer - Maven Javadoc Plugin test ©"); Path packageSummary = apidocs.resolve("jdk6/test/package-summary.html"); assertThat(packageSummary).exists(); content = readFile(packageSummary); assertThat(content) - .contains("Top - Copyright © All rights reserved.") - .contains("Header - Copyright © All rights reserved."); + .contains("Top - Maven Javadoc Plugin test ©") + .contains("Header - Maven Javadoc Plugin test ©"); - assertThat(content).contains("Footer - Copyright © All rights reserved."); + assertThat(content).contains("Footer - Maven Javadoc Plugin test ©"); } /** diff --git a/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml b/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml index 250248c0..da6059a5 100644 --- a/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml +++ b/src/test/resources/unit/header-footer-test/header-footer-test-plugin-config.xml @@ -45,7 +45,7 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Copyright © All rights reserved.</td> + <td>Maven Javadoc Plugin test ©</td> </tr> </table> ]]> @@ -55,7 +55,7 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Copyright © All rights reserved.</td> + <td>Maven Javadoc Plugin test ©</td> </tr> </table> ]]> diff --git a/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml b/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml index 88f2678d..7d3313be 100644 --- a/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml +++ b/src/test/resources/unit/jdk6-test/jdk6-test-plugin-config.xml @@ -48,7 +48,7 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Header - Copyright © All rights reserved.</td> + <td>Header - Maven Javadoc Plugin test ©</td> </tr> </table> ]]> @@ -58,7 +58,7 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Footer - Copyright © All rights reserved.</td> + <td>Footer - Maven Javadoc Plugin test ©</td> </tr> </table> ]]> @@ -68,7 +68,7 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Top - Copyright © All rights reserved.</td> + <td>Top - Maven Javadoc Plugin test ©</td> </tr> </table> ]]></top> diff --git a/src/test/resources/unit/newline-test/newline-test-plugin-config.xml b/src/test/resources/unit/newline-test/newline-test-plugin-config.xml index 849bcc05..6d4741ce 100644 --- a/src/test/resources/unit/newline-test/newline-test-plugin-config.xml +++ b/src/test/resources/unit/newline-test/newline-test-plugin-config.xml @@ -56,15 +56,15 @@ under the License. <table border="0" cellpadding="0"> <tr> <td><img src="{@docRoot}/icon.gif" width="32" /></td> - <td>Copyright © All rights reserved.</td> + <td>Maven Javadoc Plugin test ©</td> </tr> </table> ]]> </header> <bottom> <![CDATA[ -Copyright 2005, -<a href="http://www.mycompany.com">MyCompany, Inc.<a> +Maven Javadoc Plugin, +<a href="https://maven.apache.org/">newline test</a> ]]> </bottom> <stylesheet>java</stylesheet>
