Skip to content

Commit

Permalink
add Spring Boot 3 to DefaultMavenVersionResolverTests
Browse files Browse the repository at this point in the history
  • Loading branch information
sullis committed Dec 31, 2024
1 parent bac7d31 commit fe9bfa7
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2012-2023 the original author or authors.
* Copyright 2012-2024 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.
Expand Down Expand Up @@ -48,6 +48,15 @@ void resolveDependenciesForSpringBoot() {
assertThat(versions).containsEntry("org.flywaydb:flyway-core", "5.2.4");
}

@Test
void resolveDependenciesForSpringBoot3() {
Map<String, String> versions = this.resolver.resolveDependencies("org.springframework.boot",
"spring-boot-dependencies", "3.4.1");
assertThat(versions).containsEntry("io.micrometer:micrometer-core", "1.14.2")
.containsEntry("org.springframework.boot:spring-boot-autoconfigure", "3.4.1")
.containsEntry("org.junit.jupiter:junit-jupiter-api", "5.11.4");
}

@Test
void resolveDependenciesForSpringCloud() {
Map<String, String> versions = this.resolver.resolveDependencies("org.springframework.cloud",
Expand Down

0 comments on commit fe9bfa7

Please sign in to comment.