You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2021/04/12 18:10:08 UTC

[maven-project-info-reports-plugin] 01/01: The Apache Software License is moved permanently to https://www.apache.org/licenses/LICENSE-2.0.txt

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

rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit 2e187d085fbec83541503b05c256425649656442
Author: rfscholte <rf...@apache.org>
AuthorDate: Mon Apr 12 20:09:45 2021 +0200

    The Apache Software License is moved permanently to https://www.apache.org/licenses/LICENSE-2.0.txt
---
 .../java/org/apache/maven/report/projectinfo/LicensesReportTest.java  | 4 ++--
 src/test/resources/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 221e804..a6733bd 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 class LicensesReportTest
         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 dfb5f14..a6be1a9 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.
   <licenses>
     <license>
       <name>The Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
       <distribution>repo</distribution>
     </license>
   </licenses>
diff --git a/src/test/resources/plugin-configs/licenses-plugin-config.xml b/src/test/resources/plugin-configs/licenses-plugin-config.xml
index a16711f..88028d4 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.
   <licenses>
     <license>
       <name>The Apache Software License, Version 2.0</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
       <distribution>repo</distribution>
     </license>
   </licenses>