mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-25 10:59:03 +00:00
Remove milestone repository from Maven and Gradle examples
Closes gh-47341
This commit is contained in:
+1
-17
@@ -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::[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user