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 Summary
Constructors Constructor Description ProjectDependencyReader(MavenModelFromRepositoryReader artifactModelReader)Create a new instance ofProjectDependencyReader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectDependenciesreadDependencies(org.apache.maven.project.MavenProject project)Read the dependencies of the pom file (including plugins).
-
-
-
Constructor Detail
-
ProjectDependencyReader
public ProjectDependencyReader(MavenModelFromRepositoryReader artifactModelReader)
Create a new instance ofProjectDependencyReader.- Parameters:
artifactModelReader- maven dependency reader
-
-
Method Detail
-
readDependencies
public ProjectDependencies readDependencies(org.apache.maven.project.MavenProject project)
Read the dependencies of the pom file (including plugins).- Parameters:
project- maven project- Returns:
- list of dependencies
-
-