You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This component is required for two cases:
. Find the managed version of a declared dependency with a version set that is managed otherwise.
. Find all dependencies declared in a pom that are managed in another (e.g. for projects that copy the dependency management to have it under their control and thus don't use Spring Boot dependency management. Here all managed modules need to be updated accordingly)
Acceptance Criteria
ManagedDependencyResolver resolver = new ManagedDependencyResolver("org.springframework.boot", "spring-boot-dependencies", "2.7.3");
// or
ManagedDependencyResolver resolver = new ManagedDependencyResolver("org.springframework.boot:spring-boot-dependencies:2.7.3");
Dependency match = resolver.findManagedDependency("org.elasticsearch", "elasticsearch");
assertThat(match.get().getVersion()).isEqualTo("7.17.4");
Additional Information
The text was updated successfully, but these errors were encountered:
What needs to be done
A component should return a list of dependencies with their settings as defined in a given pom or its tree of dependencies.
Why it needs to be done
This component is required for two cases:
. Find the managed version of a declared dependency with a version set that is managed otherwise.
. Find all dependencies declared in a pom that are managed in another (e.g. for projects that copy the dependency management to have it under their control and thus don't use Spring Boot dependency management. Here all managed modules need to be updated accordingly)
Acceptance Criteria
Additional Information
The text was updated successfully, but these errors were encountered: