public class ProjectDependencyAnalysis extends Object
| Constructor and Description | 
|---|
ProjectDependencyAnalysis()  | 
ProjectDependencyAnalysis(Set<org.apache.maven.artifact.Artifact> usedDeclaredArtifacts,
                         Set<org.apache.maven.artifact.Artifact> usedUndeclaredArtifacts,
                         Set<org.apache.maven.artifact.Artifact> unusedDeclaredArtifacts)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object object)  | 
ProjectDependencyAnalysis | 
forceDeclaredDependenciesUsage(String[] forceUsedDependencies)
Force use status of some declared dependencies, to manually fix consequences of bytecode-level analysis which
 happens to not detect some effective use (constants, annotation with source-retention, javadoc). 
 | 
Set<org.apache.maven.artifact.Artifact> | 
getUnusedDeclaredArtifacts()
Unused but declared artifacts. 
 | 
Set<org.apache.maven.artifact.Artifact> | 
getUsedDeclaredArtifacts()
Used and declared artifacts. 
 | 
Set<org.apache.maven.artifact.Artifact> | 
getUsedUndeclaredArtifacts()
Used but not declared artifacts. 
 | 
int | 
hashCode()  | 
ProjectDependencyAnalysis | 
ignoreNonCompile()
Filter not-compile scoped artifacts from unused declared. 
 | 
String | 
toString()  | 
public Set<org.apache.maven.artifact.Artifact> getUsedDeclaredArtifacts()
Artifactpublic Set<org.apache.maven.artifact.Artifact> getUsedUndeclaredArtifacts()
Artifactpublic Set<org.apache.maven.artifact.Artifact> getUnusedDeclaredArtifacts()
Artifactpublic ProjectDependencyAnalysis ignoreNonCompile()
public ProjectDependencyAnalysis forceDeclaredDependenciesUsage(String[] forceUsedDependencies) throws ProjectDependencyAnalyzerException
forceUsedDependencies - dependencies to move from "unused-declared" to "used-declared", with
            groupId:artifactId formatProjectDependencyAnalyzerException - if dependencies forced were either not declared or already detected as
             usedCopyright © 2002–2018 The Apache Software Foundation. All rights reserved.