Class MavenModelDependencyManagement
java.lang.Object
org.springframework.boot.cli.compiler.dependencies.MavenModelDependencyManagement
- All Implemented Interfaces:
DependencyManagement
- Direct Known Subclasses:
SpringBootDependenciesDependencyManagement
DependencyManagement
derived from a Maven Model
.- Since:
- 1.3.0
- Author:
- Andy Wilkinson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionFinds the managed dependency with the givenartifactId
.Returns the managed dependencies.Returns the managed version of Spring Boot.
-
Constructor Details
-
MavenModelDependencyManagement
public MavenModelDependencyManagement(org.apache.maven.model.Model model)
-
-
Method Details
-
getDependencies
Description copied from interface:DependencyManagement
Returns the managed dependencies.- Specified by:
getDependencies
in interfaceDependencyManagement
- Returns:
- the managed dependencies
-
getSpringBootVersion
Description copied from interface:DependencyManagement
Returns the managed version of Spring Boot. May benull
.- Specified by:
getSpringBootVersion
in interfaceDependencyManagement
- Returns:
- the Spring Boot version, or
null
-
find
Description copied from interface:DependencyManagement
Finds the managed dependency with the givenartifactId
.- Specified by:
find
in interfaceDependencyManagement
- Parameters:
artifactId
- the artifact ID of the dependency to find- Returns:
- the dependency, or
null
-