Interface ProjectDependencyAnalyzer
- All Known Implementing Classes:
 DefaultProjectDependencyAnalyzer
public interface ProjectDependencyAnalyzer
Analyze a project's declared dependencies and effective classes used to find which artifacts are:
 
- used and declared,
 - used but not declared,
 - not used but declared.
 - used but declared in too broad a scope
 
- Author:
 - Mark Hobson
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault ProjectDependencyAnalysisanalyze(org.apache.maven.project.MavenProject project) analyze.analyze(org.apache.maven.project.MavenProject project, Collection<String> excludedClasses) analyze. 
- 
Method Details
- 
analyze
default ProjectDependencyAnalysis analyze(org.apache.maven.project.MavenProject project) throws ProjectDependencyAnalyzerException analyze.
- Parameters:
 project- aMavenProjectobject- Returns:
 - a 
ProjectDependencyAnalysisobject - Throws:
 ProjectDependencyAnalyzerException- if any
 - 
analyze
ProjectDependencyAnalysis analyze(org.apache.maven.project.MavenProject project, Collection<String> excludedClasses) throws ProjectDependencyAnalyzerException analyze.
- Parameters:
 project- aMavenProjectobjectexcludedClasses- collection of regular expression of classes name to exclude- Returns:
 - a 
ProjectDependencyAnalysisobject - Throws:
 ProjectDependencyAnalyzerException- if any
 
 -