Skip to content

Commit 55ec5f0

Browse files
committed
Stop relying on repo.spring.io/milestone
As of this generation, all milestones are to be released on Maven Central. This commit makes sure we no longer rely on our own milestone repository to catch that something we depend on was not released properly. Closes gh-1664
1 parent daa97f9 commit 55ec5f0

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

gradle/plugins/conventions-plugin/src/main/java/org/springframework/ws/gradle/conventions/JavaBasePluginConventions.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
*/
3030
class JavaBasePluginConventions {
3131

32-
static final String SPRING_MILESTONE_REPOSITORY_NAME = "Spring Milestones";
33-
3432
static final String SPRING_SNAPSHOT_REPOSITORY_NAME = "Spring Snapshots";
3533

3634
static final String SHIBBOLETH_RELEASES_REPOSITORY_NAME = "Shibboleth Releases";
@@ -58,12 +56,6 @@ private void configureRepositories(Project project) {
5856
});
5957
});
6058
String version = project.getVersion().toString();
61-
if (version.contains("-")) {
62-
project.getRepositories().maven((repository) -> {
63-
repository.setName(SPRING_MILESTONE_REPOSITORY_NAME);
64-
repository.setUrl("https://repo.spring.io/milestone");
65-
});
66-
}
6759
if (version.endsWith("-SNAPSHOT")) {
6860
project.getRepositories().maven((repository) -> {
6961
repository.setName(SPRING_SNAPSHOT_REPOSITORY_NAME);

0 commit comments

Comments
 (0)