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
Constructors -
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:DependencyManagementReturns the managed dependencies.- Specified by:
getDependenciesin interfaceDependencyManagement- Returns:
- the managed dependencies
-
getSpringBootVersion
Description copied from interface:DependencyManagementReturns the managed version of Spring Boot. May benull.- Specified by:
getSpringBootVersionin interfaceDependencyManagement- Returns:
- the Spring Boot version, or
null
-
find
Description copied from interface:DependencyManagementFinds the managed dependency with the givenartifactId.- Specified by:
findin interfaceDependencyManagement- Parameters:
artifactId- the artifact ID of the dependency to find- Returns:
- the dependency, or
null
-