public class MavenModelDependencyManagement extends 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(String artifactId)
Finds the managed dependency with the given
artifactId . |
List<Dependency> |
getDependencies()
Returns the managed dependencies.
|
String |
getSpringBootVersion()
Returns the managed version of Spring Boot.
|
public MavenModelDependencyManagement(org.apache.maven.model.Model model)
public List<Dependency> getDependencies()
DependencyManagement
getDependencies
in interface DependencyManagement
public String getSpringBootVersion()
DependencyManagement
null
.getSpringBootVersion
in interface DependencyManagement
null
public Dependency find(String artifactId)
DependencyManagement
artifactId
.find
in interface DependencyManagement
artifactId
- the artifact ID of the dependency to findnull
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.