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 2020/01/16 19:49:48 UTC

[maven-project-info-reports-plugin] 01/01: http to central not supported anymore, switch to https

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

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

commit 5af929912e2882bda6a54bd613ad92e264692123
Author: rfscholte <rf...@apache.org>
AuthorDate: Thu Jan 16 20:49:38 2020 +0100

    http to central not supported anymore, switch to https
---
 src/it/settings.xml                                                     | 2 +-
 .../apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/it/settings.xml b/src/it/settings.xml
index f217c8e..278bff2 100644
--- a/src/it/settings.xml
+++ b/src/it/settings.xml
@@ -64,7 +64,7 @@ under the License.
     <mirror>
       <id>mirror-test</id>
       <mirrorOf>central</mirrorOf>
-      <url>http://repo.maven.apache.org/maven2/</url>
+      <url>https://repo.maven.apache.org/maven2/</url>
     </mirror>
   </mirrors>
 </settings>
diff --git a/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java b/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
index 4e41f19..0df5815 100644
--- a/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
+++ b/src/test/java/org/apache/maven/report/projectinfo/stubs/ProjectInfoProjectStub.java
@@ -154,7 +154,7 @@ public abstract class ProjectInfoProjectStub
     @Override
     public List<ArtifactRepository> getRemoteArtifactRepositories()
     {
-        ArtifactRepository repository = new DefaultArtifactRepository( "central", "http://repo1.maven.org/maven2",
+        ArtifactRepository repository = new DefaultArtifactRepository( "central", "https://repo1.maven.org/maven2",
                                                                        new DefaultRepositoryLayout() );
 
         return Collections.singletonList( repository );