Skip to content

Commit 7082c81

Browse files
committed
Reinstate Maven Central as a source for dependency upgrades
See gh-42333
1 parent 09400df commit 7082c81

File tree

1 file changed

+1
-0
lines changed
  • buildSrc/src/main/java/org/springframework/boot/build/bom/bomr

1 file changed

+1
-0
lines changed

buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/UpgradeBom.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public UpgradeBom(BomExtension bom) {
4343
}
4444

4545
private void addOpenSourceRepositories() {
46+
getRepositoryNames().add(ArtifactRepositoryContainer.DEFAULT_MAVEN_CENTRAL_REPO_NAME);
4647
getProject().getRepositories().withType(MavenArtifactRepository.class, (repository) -> {
4748
String name = repository.getName();
4849
if (name.startsWith("spring-") && !name.endsWith("-snapshot")) {

0 commit comments

Comments
 (0)