mirror of https://github.com/apache/maven.git
comment and clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191653 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
94529a2bd8
commit
86aa7ce7da
|
@ -558,8 +558,6 @@ public class DefaultPluginManager
|
|||
|
||||
Map resolved = result.getArtifacts();
|
||||
|
||||
List files = new ArrayList();
|
||||
|
||||
for ( Iterator it = resolved.values().iterator(); it.hasNext(); )
|
||||
{
|
||||
Artifact artifact = (Artifact) it.next();
|
||||
|
@ -572,6 +570,10 @@ public class DefaultPluginManager
|
|||
|
||||
pluginDescriptor.setClassRealm( pluginContainer.getContainerRealm() );
|
||||
|
||||
// TODO: this is probably overkill as it is rarely used - can we use a mojo tag to signal this will be
|
||||
// used or check its configuration? Also, when it is used, perhaps it is more effecient to resolve
|
||||
// everything at once and apply the exclusion filter when constructing the plugin container above.
|
||||
// Check this out with yourkit
|
||||
ArtifactFilter distroProvidedFilter = new InversionArtifactFilter( artifactFilter );
|
||||
|
||||
ArtifactResolutionResult distroProvidedResult = artifactResolver
|
||||
|
|
Loading…
Reference in New Issue