Update Apache Maven Central repository url
Closes gh-11190
This commit is contained in:
committed by
Stephane Nicoll
parent
ac316b502d
commit
0a6f5fb2be
@@ -42,7 +42,7 @@ import org.springframework.util.StringUtils;
|
||||
public final class RepositoryConfigurationFactory {
|
||||
|
||||
private static final RepositoryConfiguration MAVEN_CENTRAL = new RepositoryConfiguration(
|
||||
"central", URI.create("http://repo1.maven.org/maven2/"), false);
|
||||
"central", URI.create("https://repo.maven.apache.org/maven2/"), false);
|
||||
|
||||
private static final RepositoryConfiguration SPRING_MILESTONE = new RepositoryConfiguration(
|
||||
"spring-milestone", URI.create("http://repo.spring.io/milestone"), false);
|
||||
|
||||
@@ -53,7 +53,7 @@ public class AetherGrapeEngineTests {
|
||||
RepositoryConfiguration... additionalRepositories) {
|
||||
List<RepositoryConfiguration> repositoryConfigurations = new ArrayList<RepositoryConfiguration>();
|
||||
repositoryConfigurations.add(new RepositoryConfiguration("central",
|
||||
URI.create("http://repo1.maven.org/maven2"), false));
|
||||
URI.create("https://repo.maven.apache.org/maven2"), false));
|
||||
repositoryConfigurations.addAll(Arrays.asList(additionalRepositories));
|
||||
DependencyResolutionContext dependencyResolutionContext = new DependencyResolutionContext();
|
||||
dependencyResolutionContext.addDependencyManagement(
|
||||
|
||||
Reference in New Issue
Block a user