From 2e187d085fbec83541503b05c256425649656442 Mon Sep 17 00:00:00 2001 From: rfscholte Date: Mon, 12 Apr 2021 20:09:45 +0200 Subject: [PATCH] The Apache Software License is moved permanently to https://www.apache.org/licenses/LICENSE-2.0.txt --- .../apache/maven/report/projectinfo/LicensesReportTest.java | 4 ++-- .../plugin-configs/licenses-plugin-config-linkonly.xml | 2 +- src/test/resources/plugin-configs/licenses-plugin-config.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/maven/report/projectinfo/LicensesReportTest.java b/src/test/java/org/apache/maven/report/projectinfo/LicensesReportTest.java index 221e8041..a6733bd3 100644 --- a/src/test/java/org/apache/maven/report/projectinfo/LicensesReportTest.java +++ b/src/test/java/org/apache/maven/report/projectinfo/LicensesReportTest.java @@ -114,7 +114,7 @@ public void testReportLinksOnly() final WebLink[] links = response.getLinks(); assertEquals( 2, links.length ); assertEquals( "http://maven.apache.org/", links[0].getURLString() ); - assertEquals( "http://www.apache.org/licenses/LICENSE-2.0.txt", links[1].getURLString() ); - assertEquals( "http://www.apache.org/licenses/LICENSE-2.0.txt", links[1].getText() ); + assertEquals( "https://www.apache.org/licenses/LICENSE-2.0.txt", links[1].getURLString() ); + assertEquals( "https://www.apache.org/licenses/LICENSE-2.0.txt", links[1].getText() ); } } diff --git a/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml b/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml index dfb5f144..a6be1a9e 100644 --- a/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml +++ b/src/test/resources/plugin-configs/licenses-plugin-config-linkonly.xml @@ -27,7 +27,7 @@ under the License. The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + https://www.apache.org/licenses/LICENSE-2.0.txt repo diff --git a/src/test/resources/plugin-configs/licenses-plugin-config.xml b/src/test/resources/plugin-configs/licenses-plugin-config.xml index a16711f4..88028d47 100644 --- a/src/test/resources/plugin-configs/licenses-plugin-config.xml +++ b/src/test/resources/plugin-configs/licenses-plugin-config.xml @@ -27,7 +27,7 @@ under the License. The Apache Software License, Version 2.0 - http://www.apache.org/licenses/LICENSE-2.0.txt + https://www.apache.org/licenses/LICENSE-2.0.txt repo