Remove milestone repository from Maven and Gradle examples

Closes gh-47341
This commit is contained in:
Andy Wilkinson
2025-09-29 15:25:02 +01:00
parent 5a2f90d1f1
commit 569fa5fd7d
@@ -100,21 +100,6 @@ Open your favorite text editor and add the following:
<!-- Additional lines to be added here... -->
ifeval::["{build-and-artifact-release-type}" == "opensource-milestone"]
<!-- (you don't need this if you are using a release version) -->
<repositories>
<repository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>spring-milestones</id>
<url>https://repo.spring.io/milestone</url>
</pluginRepository>
</pluginRepositories>
endif::[]
ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
<!-- (you don't need this if you are using a release version) -->
<repositories>
@@ -187,8 +172,7 @@ java {
repositories {
mavenCentral()
ifeval::["{artifact-release-type}" != "release"]
maven { url 'https://repo.spring.io/milestone' }
ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
maven { url 'https://repo.spring.io/snapshot' }
endif::[]
}