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: @@ -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 { @@ -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::[]
}

Loading…
Cancel
Save