Remove references to https://repo.spring.io/release
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -141,10 +141,8 @@ class MavenResolverGrapeEngineTests {
|
||||
void resolutionWithCustomResolver() {
|
||||
Map<String, Object> args = new HashMap<>();
|
||||
GrapeEngine grapeEngine = createGrapeEngine();
|
||||
grapeEngine.addResolver(createResolver("spring-releases", "https://repo.spring.io/release"));
|
||||
Map<String, Object> dependency = createDependency("io.spring.docresources", "spring-doc-resources",
|
||||
"0.1.1.RELEASE");
|
||||
dependency.put("ext", "zip");
|
||||
grapeEngine.addResolver(createResolver("spring-milestones", "https://repo.spring.io/milestone"));
|
||||
Map<String, Object> dependency = createDependency("org.springframework", "spring-jcl", "5.3.0-M1");
|
||||
grapeEngine.grab(args, dependency);
|
||||
assertThat(this.groovyClassLoader.getURLs()).hasSize(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user