Interface DependencyManagement

All Known Implementing Classes:
CompositeDependencyManagement, MavenModelDependencyManagement, SpringBootDependenciesDependencyManagement

public interface DependencyManagement
An encapsulation of dependency management information.
Since:
1.3.0
Author:
Andy Wilkinson
  • Method Details

    • getDependencies

      List<Dependency> getDependencies()
      Returns the managed dependencies.
      Returns:
      the managed dependencies
    • getSpringBootVersion

      String getSpringBootVersion()
      Returns the managed version of Spring Boot. May be null.
      Returns:
      the Spring Boot version, or null
    • find

      Dependency find(String artifactId)
      Finds the managed dependency with the given artifactId.
      Parameters:
      artifactId - the artifact ID of the dependency to find
      Returns:
      the dependency, or null