Class ProjectDependencyReader

java.lang.Object
com.exasol.projectkeeper.validators.dependencies.ProjectDependencyReader

public class ProjectDependencyReader extends Object
This class reads all dependencies of a pom file (including the plugins) together with their license.
  • Constructor Details

    • ProjectDependencyReader

      public ProjectDependencyReader(MavenModelFromRepositoryReader artifactModelReader, org.apache.maven.project.MavenProject project)
      Create a new instance of ProjectDependencyReader.
      Parameters:
      artifactModelReader - maven dependency reader
      project - maven project
  • Method Details

    • readDependencies

      public ProjectDependencies readDependencies()
      Read the dependencies of the pom file (including plugins).
      Returns:
      list of dependencies