Browse Source

Remove milestone repository from Maven and Gradle examples

Closes gh-47341
pull/47353/head
Andy Wilkinson 3 months ago
parent
commit
569fa5fd7d
  1. 18
      documentation/spring-boot-docs/src/docs/antora/modules/tutorial/pages/first-application/index.adoc

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

@ -100,21 +100,6 @@ Open your favorite text editor and add the following:
<!-- Additional lines to be added here... --> <!-- 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"] ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
<!-- (you don't need this if you are using a release version) --> <!-- (you don't need this if you are using a release version) -->
<repositories> <repositories>
@ -187,8 +172,7 @@ java {
repositories { repositories {
mavenCentral() mavenCentral()
ifeval::["{artifact-release-type}" != "release"] ifeval::["{build-and-artifact-release-type}" == "opensource-snapshot"]
maven { url 'https://repo.spring.io/milestone' }
maven { url 'https://repo.spring.io/snapshot' } maven { url 'https://repo.spring.io/snapshot' }
endif::[] endif::[]
} }

Loading…
Cancel
Save