Class ProjectDependencyReader
java.lang.Object
com.exasol.projectkeeper.validators.dependencies.ProjectDependencyReader
This class reads all dependencies of a pom file (including the plugins) together with their license.
-
Constructor Summary
ConstructorsConstructorDescriptionProjectDependencyReader(MavenModelFromRepositoryReader artifactModelReader, org.apache.maven.project.MavenProject project) Create a new instance ofProjectDependencyReader. -
Method Summary
Modifier and TypeMethodDescriptionRead the dependencies of the pom file (including plugins).
-
Constructor Details
-
ProjectDependencyReader
public ProjectDependencyReader(MavenModelFromRepositoryReader artifactModelReader, org.apache.maven.project.MavenProject project) Create a new instance ofProjectDependencyReader.- Parameters:
artifactModelReader- maven dependency readerproject- maven project
-
-
Method Details
-
readDependencies
Read the dependencies of the pom file (including plugins).- Returns:
- list of dependencies
-