The following document contains the results of PMD's CPD 5.0.5.
| File | Line |
|---|---|
| org/apache/maven/plugin/assembly/artifact/DefaultDependencyResolver.java | 109 |
| org/apache/maven/plugin/assembly/artifact/DefaultDependencyResolver.java | 156 |
updateModuleSetResolutionRequirements( assemblyId, moduleSet, dependencySet, info, configSource );
Set<Artifact> artifacts;
if ( info.isResolutionRequired() )
{
final List<ArtifactRepository> repos =
aggregateRemoteArtifactRepositories( configSource.getRemoteRepositories(),
info.getEnabledProjects() );
artifacts = info.getArtifacts();
if ( info.isResolvedTransitively() )
{
getLogger().debug( "Resolving project dependencies transitively." );
artifacts = resolveTransitively( artifacts, repos, info, configSource );
}
else
{
getLogger().debug( "Resolving project dependencies ONLY. "
+ "Transitive dependencies WILL NOT be included in the results." );
artifacts = resolveNonTransitively( assembly, artifacts, configSource, repos );
}
}
else
{
artifacts = new HashSet<Artifact>();
}
result.put( dependencySet, artifacts );
}
return result;
} | |