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/17 13:48:14 UTC

[maven-resolver-ant-tasks] branch https created (now c201979)

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

rfscholte pushed a change to branch https
in repository https://gitbox.apache.org/repos/asf/maven-resolver-ant-tasks.git.


      at c201979  http to central not supported anymore, switch to https

This branch includes the following new commits:

     new c201979  http to central not supported anymore, switch to https

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-resolver-ant-tasks] 01/01: http to central not supported anymore, switch to https

Posted by rf...@apache.org.
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-resolver-ant-tasks.git

commit c201979da4548291c8585396cf50e27923730042
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jan 17 14:47:58 2020 +0100

    http to central not supported anymore, switch to https
---
 src/main/java/org/apache/maven/resolver/internal/ant/AntRepoSys.java | 2 +-
 src/test/resources/ant/Resolve/ant.xml                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/maven/resolver/internal/ant/AntRepoSys.java b/src/main/java/org/apache/maven/resolver/internal/ant/AntRepoSys.java
index c125618..9242855 100644
--- a/src/main/java/org/apache/maven/resolver/internal/ant/AntRepoSys.java
+++ b/src/main/java/org/apache/maven/resolver/internal/ant/AntRepoSys.java
@@ -179,7 +179,7 @@ public class AntRepoSys
         RemoteRepository repo = new RemoteRepository();
         repo.setProject( project );
         repo.setId( "central" );
-        repo.setUrl( "http://repo1.maven.org/maven2/" );
+        repo.setUrl( "https://repo1.maven.org/maven2/" );
         project.addReference( Names.ID_CENTRAL, repo );
 
         repo = new RemoteRepository();
diff --git a/src/test/resources/ant/Resolve/ant.xml b/src/test/resources/ant/Resolve/ant.xml
index 4565ea7..12b4f34 100644
--- a/src/test/resources/ant/Resolve/ant.xml
+++ b/src/test/resources/ant/Resolve/ant.xml
@@ -27,7 +27,7 @@
 
   &common;
 
-  <repo:remoterepo id="remote" url="http://repo1.maven.org/maven2" type="default" releases="true" snapshots="true" updates="always" checksums="fail"/>
+  <repo:remoterepo id="remote" url="https://repo1.maven.org/maven2" type="default" releases="true" snapshots="true" updates="always" checksums="fail"/>
   <repo:remoterepos id="resolver.repositories">
     <repo:remoterepo refid="remote"/>
   </repo:remoterepos>