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 11:47:28 UTC

[maven-doxia-sitetools] branch https created (now 7dd3c0b)

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-doxia-sitetools.git.


      at 7dd3c0b  http to central not supported anymore, switch to https

This branch includes the following new commits:

     new 7dd3c0b  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-doxia-sitetools] 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-doxia-sitetools.git

commit 7dd3c0bc767ea87121771e3db43fdf88de42e344
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Jan 17 12:47:17 2020 +0100

    http to central not supported anymore, switch to https
---
 .../src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java        | 2 +-
 .../org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java b/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
index 1031aa8..f19ab61 100644
--- a/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
+++ b/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/SiteToolTest.java
@@ -259,7 +259,7 @@ public class SiteToolTest
         assertEquals( "http://maven.apache.org/images/maven-small.gif", model.getBannerRight().getSrc() );
         assertNull( model.getBannerRight().getHref() );
 
-        // model from repo: http://repo1.maven.org/maven2/org/apache/maven/maven-site/1.0/maven-site-1.0-site.xml
+        // model from repo: https://repo1.maven.org/maven2/org/apache/maven/maven-site/1.0/maven-site-1.0-site.xml
         // TODO Enable this test as soon as we haven a site.xml with head content as string
         /*project.setBasedir( null );
         project.setGroupId( "org.apache.maven" );
diff --git a/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java b/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java
index 511417a..4a30d7d 100644
--- a/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java
+++ b/doxia-integration-tools/src/test/java/org/apache/maven/doxia/tools/stubs/SiteToolMavenProjectStub.java
@@ -118,7 +118,7 @@ public class SiteToolMavenProjectStub
     /** {@inheritDoc} */
     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 );