mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Remove references to https://repo.spring.io/release
This commit is contained in:
parent
a8da4e1004
commit
3b2e5e5292
@ -7,7 +7,6 @@ plugins {
|
|||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
gradlePluginPortal()
|
gradlePluginPortal()
|
||||||
maven { url "https://repo.spring.io/release" }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
|
@ -13,16 +13,6 @@ configurations {
|
|||||||
documentation
|
documentation
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
url "https://repo.spring.io/release"
|
|
||||||
mavenContent {
|
|
||||||
includeGroup "io.spring.asciidoctor"
|
|
||||||
includeGroup "io.spring.asciidoctor.backends"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
asciidoctorExtensions("org.springframework.restdocs:spring-restdocs-asciidoctor")
|
asciidoctorExtensions("org.springframework.restdocs:spring-restdocs-asciidoctor")
|
||||||
asciidoctorExtensions("io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids")
|
asciidoctorExtensions("io.spring.asciidoctor:spring-asciidoctor-extensions-section-ids")
|
||||||
|
@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@ -141,10 +141,8 @@ class MavenResolverGrapeEngineTests {
|
|||||||
void resolutionWithCustomResolver() {
|
void resolutionWithCustomResolver() {
|
||||||
Map<String, Object> args = new HashMap<>();
|
Map<String, Object> args = new HashMap<>();
|
||||||
GrapeEngine grapeEngine = createGrapeEngine();
|
GrapeEngine grapeEngine = createGrapeEngine();
|
||||||
grapeEngine.addResolver(createResolver("spring-releases", "https://repo.spring.io/release"));
|
grapeEngine.addResolver(createResolver("spring-milestones", "https://repo.spring.io/milestone"));
|
||||||
Map<String, Object> dependency = createDependency("io.spring.docresources", "spring-doc-resources",
|
Map<String, Object> dependency = createDependency("org.springframework", "spring-jcl", "5.3.0-M1");
|
||||||
"0.1.1.RELEASE");
|
|
||||||
dependency.put("ext", "zip");
|
|
||||||
grapeEngine.grab(args, dependency);
|
grapeEngine.grab(args, dependency);
|
||||||
assertThat(this.groovyClassLoader.getURLs()).hasSize(1);
|
assertThat(this.groovyClassLoader.getURLs()).hasSize(1);
|
||||||
}
|
}
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
<ivy pattern="${user.home}/.m2/[organisation]/[module]/[revision]/[module]-[revision].pom" />
|
<ivy pattern="${user.home}/.m2/[organisation]/[module]/[revision]/[module]-[revision].pom" />
|
||||||
</filesystem>
|
</filesystem>
|
||||||
<ibiblio name="ibiblio" m2compatible="true" />
|
<ibiblio name="ibiblio" m2compatible="true" />
|
||||||
<ibiblio name="spring-releases" m2compatible="true" root="https://repo.spring.io/release" />
|
|
||||||
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
|
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
|
||||||
<ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
|
<ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
|
||||||
</chain>
|
</chain>
|
||||||
|
@ -12,16 +12,6 @@ configurations {
|
|||||||
documentation
|
documentation
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
url "https://repo.spring.io/release"
|
|
||||||
mavenContent {
|
|
||||||
includeGroup "io.spring.asciidoctor"
|
|
||||||
includeGroup "io.spring.asciidoctor.backends"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly("org.apache.maven.plugin-tools:maven-plugin-annotations")
|
compileOnly("org.apache.maven.plugin-tools:maven-plugin-annotations")
|
||||||
compileOnly("org.sonatype.plexus:plexus-build-api")
|
compileOnly("org.sonatype.plexus:plexus-build-api")
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
<ivy pattern="${projectDir}/build/test-repository/[organisation]/[module]/[revision]/[module]-[revision].pom" />
|
<ivy pattern="${projectDir}/build/test-repository/[organisation]/[module]/[revision]/[module]-[revision].pom" />
|
||||||
</filesystem>
|
</filesystem>
|
||||||
<ibiblio name="ibiblio" m2compatible="true" />
|
<ibiblio name="ibiblio" m2compatible="true" />
|
||||||
<ibiblio name="spring-releases" m2compatible="true" root="https://repo.spring.io/release" />
|
|
||||||
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
|
<ibiblio name="spring-milestones" m2compatible="true" root="https://repo.spring.io/milestone" />
|
||||||
<ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
|
<ibiblio name="spring-snapshots" m2compatible="true" root="https://repo.spring.io/snapshot" />
|
||||||
</chain>
|
</chain>
|
||||||
|
Loading…
Reference in New Issue
Block a user