throw new MojoExecutionException( "Cannot analyze dependencies", exception );
}
if ( ignoreNonCompile )
{
analysis = analysis.ignoreNonCompile();
}
Set<Artifact> usedDeclared = analysis.getUsedDeclaredArtifacts();
Set<Artifact> usedUndeclared = analysis.getUsedUndeclaredArtifacts();
Set<Artifact> unusedDeclared = analysis.getUnusedDeclaredArtifacts();