From c3b83ad0bcb8bc1cc3e892cb062a646c10b489d0 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Fri, 17 Jan 2025 08:25:47 +0100 Subject: [PATCH] Enable milestone repositories for Boot snapshot versions --- .../java/io/spring/start/site/MetadataVerificationTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/start-site-verification/src/test/java/io/spring/start/site/MetadataVerificationTests.java b/start-site-verification/src/test/java/io/spring/start/site/MetadataVerificationTests.java index 6c61d2be19..d3265ef04d 100644 --- a/start-site-verification/src/test/java/io/spring/start/site/MetadataVerificationTests.java +++ b/start-site-verification/src/test/java/io/spring/start/site/MetadataVerificationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -143,6 +143,7 @@ private List getRepositories(Dependency dependency, Version bo String qualifier = bootVersion.getQualifier().getId(); if (qualifier.contains("SNAPSHOT")) { repositories.computeIfAbsent("spring-snapshots", this::repositoryForId); + repositories.computeIfAbsent("spring-milestones", this::repositoryForId); } else if (MILESTONE_PATTERN.matcher(qualifier).matches()) { repositories.computeIfAbsent("spring-milestones", this::repositoryForId);