接口 DependencyManagement
- 所有已知实现类:
CompositeDependencyManagement
,MavenModelDependencyManagement
,SpringBootDependenciesDependencyManagement
public interface DependencyManagement
An encapsulation of dependency management information.- 从以下版本开始:
- 1.3.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Dependency
find(String artifactId)
Finds the managed dependency with the givenartifactId
.List<Dependency>
getDependencies()
Returns the managed dependencies.String
getSpringBootVersion()
Returns the managed version of Spring Boot.
方法详细资料
getDependencies
List<Dependency> getDependencies()
Returns the managed dependencies.- 返回:
- the managed dependencies
getSpringBootVersion
String getSpringBootVersion()
Returns the managed version of Spring Boot. May benull
.- 返回:
- the Spring Boot version, or
null
find
Dependency find(String artifactId)
Finds the managed dependency with the givenartifactId
.- 参数:
artifactId
- The artifact ID of the dependency to find- 返回:
- the dependency, or
null