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 SummaryModifier and TypeMethodDescriptiondefault ProjectDependencyAnalysisanalyze(org.apache.maven.project.MavenProject project) analyze.analyze(org.apache.maven.project.MavenProject project, Collection<String> excludedClasses) analyze.
- 
Method Details- 
analyzedefault ProjectDependencyAnalysis analyze(org.apache.maven.project.MavenProject project) throws ProjectDependencyAnalyzerException analyze. - Parameters:
- project- a- MavenProjectobject
- Returns:
- a ProjectDependencyAnalysisobject
- Throws:
- ProjectDependencyAnalyzerException- if any
 
- 
analyzeProjectDependencyAnalysis analyze(org.apache.maven.project.MavenProject project, Collection<String> excludedClasses) throws ProjectDependencyAnalyzerException analyze. - Parameters:
- project- a- MavenProjectobject
- excludedClasses- collection of regular expression of classes name to exclude
- Returns:
- a ProjectDependencyAnalysisobject
- Throws:
- ProjectDependencyAnalyzerException- if any
 
 
-