mirror of https://github.com/apache/maven.git
[MNG-4348] [regression] Unnecessary remote repo access for POMs while execution plugin that does not require dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@812914 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3aa97fe7c2
commit
2c2c13aefb
|
@ -84,6 +84,12 @@ public class DefaultProjectDependenciesResolver
|
|||
return resolved;
|
||||
}
|
||||
|
||||
if ( ( scopesToCollect == null || scopesToCollect.isEmpty() )
|
||||
&& ( scopesToResolve == null || scopesToResolve.isEmpty() ) )
|
||||
{
|
||||
return resolved;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Logic for transitve global exclusions
|
||||
|
|
|
@ -181,6 +181,8 @@ public class DefaultLifecycleExecutor
|
|||
{
|
||||
logger.debug( "=== PROJECT BUILD PLAN ================================================" );
|
||||
logger.debug( "Project: " + getKey( currentProject ) );
|
||||
logger.debug( "Dependencies (collect): " + executionPlan.getRequiredCollectionScopes() );
|
||||
logger.debug( "Dependencies (resolve): " + executionPlan.getRequiredResolutionScopes() );
|
||||
|
||||
for ( MojoExecution mojoExecution : executionPlan.getExecutions() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue