Skip to content

Commit 569fa5f

Browse files
committed
Remove milestone repository from Maven and Gradle examples
Closes gh-47341
1 parent 5a2f90d commit 569fa5f

File tree

1 file changed

+1
-17
lines changed
  • documentation/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application

1 file changed

+1
-17
lines changed

documentation/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@ Open your favorite text editor and add the following:
100100
101101
<!-- Additional lines to be added here... -->
102102
103-
ifeval::["{build-and-artifact-release-type}" == "opensource-milestone"]
104-
<!-- (you don't need this if you are using a release version) -->
105-
<repositories>
106-
<repository>
107-
<id>spring-milestones</id>
108-
<url>https://repo.spring.io/milestone</url>
109-
</repository>
110-
</repositories>
111-
<pluginRepositories>
112-
<pluginRepository>
113-
<id>spring-milestones</id>
114-
<url>https://repo.spring.io/milestone</url>
115-
</pluginRepository>
116-
</pluginRepositories>
117-
endif::[]
118103
ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
119104
<!-- (you don't need this if you are using a release version) -->
120105
<repositories>
@@ -187,8 +172,7 @@ java {
187172
188173
repositories {
189174
mavenCentral()
190-
ifeval::["{artifact-release-type}" != "release"]
191-
maven { url 'https://repo.spring.io/milestone' }
175+
ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
192176
maven { url 'https://repo.spring.io/snapshot' }
193177
endif::[]
194178
}

0 commit comments

Comments
 (0)