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-remote-resources-plugin.git
commit 523b95a080574122f83bdb4c9d32b80e991ada4e Author: Sylwester Lachiewicz <[email protected]> AuthorDate: Wed Oct 28 01:32:45 2026 +0000 Ignore line endings in ITSpdxLicenseId --- .../org/apache/maven/plugin/resources/remote/it/ITSpdxLicenseId.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/maven/plugin/resources/remote/it/ITSpdxLicenseId.java b/src/test/java/org/apache/maven/plugin/resources/remote/it/ITSpdxLicenseId.java index cec9cdf..7676878 100644 --- a/src/test/java/org/apache/maven/plugin/resources/remote/it/ITSpdxLicenseId.java +++ b/src/test/java/org/apache/maven/plugin/resources/remote/it/ITSpdxLicenseId.java @@ -47,7 +47,7 @@ public class ITSpdxLicenseId extends AbstractIT { verifier.verifyErrorFreeLog(); File output = new File(projectDir, "target/maven-shared-archive-resources/DEPENDENCIES"); - String content = FileUtils.fileRead(output); + String content = FileUtils.fileRead(output).replace("\r\n", "\n"); assertTrue(content.contains("a-name: Apache-2.0\n"), content); assertTrue(content.contains("b-url: Apache-2.0\n"), content);
