Class DefaultProjectDependencyAnalyzer

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ProjectDependencyAnalysis analyze​(org.apache.maven.project.MavenProject project, java.util.Collection<java.lang.String> excludedClasses)
      analyze.
      protected java.util.Map<org.apache.maven.artifact.Artifact,​java.util.Set<java.lang.String>> buildArtifactClassMap​(org.apache.maven.project.MavenProject project, ClassesPatterns excludedClasses)
      Maps dependency artifacts to their classes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultProjectDependencyAnalyzer

        public DefaultProjectDependencyAnalyzer()
        Constructor used by Sisu.
    • Method Detail

      • buildArtifactClassMap

        protected java.util.Map<org.apache.maven.artifact.Artifact,​java.util.Set<java.lang.String>> buildArtifactClassMap​(org.apache.maven.project.MavenProject project,
                                                                                                                                ClassesPatterns excludedClasses)
                                                                                                                         throws java.io.IOException
        Maps dependency artifacts to their classes.
        Parameters:
        project - Maven project
        excludedClasses - patterns of classes to exclude
        Returns:
        dependency artifacts and their classes
        Throws:
        java.io.IOException - if a dependency cannot be read