public class MavenModelDependencyManagement extends java.lang.Object implements DependencyManagement
DependencyManagement
derived from a Maven Model
.Constructor and Description |
---|
MavenModelDependencyManagement(org.apache.maven.model.Model model) |
Modifier and Type | Method and Description |
---|---|
Dependency |
find(java.lang.String artifactId)
Finds the managed dependency with the given
artifactId . |
java.util.List<Dependency> |
getDependencies()
Returns the managed dependencies.
|
java.lang.String |
getSpringBootVersion()
Returns the managed version of Spring Boot.
|
public MavenModelDependencyManagement(org.apache.maven.model.Model model)
public java.util.List<Dependency> getDependencies()
DependencyManagement
getDependencies
in interface DependencyManagement
public java.lang.String getSpringBootVersion()
DependencyManagement
null
.getSpringBootVersion
in interface DependencyManagement
null
public Dependency find(java.lang.String artifactId)
DependencyManagement
artifactId
.find
in interface DependencyManagement
artifactId
- the artifact ID of the dependency to findnull