This matches the default configuration used in the latest version of Maven.
<remoteRepository>
<id>central</id>
<name>Central Repository</name>
- <url>http://repo.maven.apache.org/maven2</url>
+ <url>https://repo.maven.apache.org/maven2</url>
<layout>default</layout>
</remoteRepository>
</remoteRepositories>
{
RemoteRepository central = remoteRepositoryAdmin.getRemoteRepository( "central" );
assertNotNull( central );
- assertEquals( "http://repo.maven.apache.org/maven2", central.getUrl() );
+ assertEquals( "https://repo.maven.apache.org/maven2", central.getUrl() );
assertEquals( 60, central.getTimeout() );
assertNull( central.getUserName() );
assertNull( central.getPassword() );