Class ProjectDependencyReader


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

      • 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 Detail

      • readDependencies

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