mirror of https://github.com/apache/maven.git
o Fixed dependency resolution for direct goal invocations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@780244 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4ce879db0a
commit
1deef1f1d6
|
@ -268,6 +268,8 @@ public class DefaultLifecycleExecutor
|
||||||
|
|
||||||
MojoDescriptor mojoDescriptor = getMojoDescriptor( task, session );
|
MojoDescriptor mojoDescriptor = getMojoDescriptor( task, session );
|
||||||
|
|
||||||
|
requiredDependencyResolutionScope = mojoDescriptor.isDependencyResolutionRequired();
|
||||||
|
|
||||||
MojoExecution mojoExecution = new MojoExecution( mojoDescriptor, "default-" + mojoDescriptor.getGoal() );
|
MojoExecution mojoExecution = new MojoExecution( mojoDescriptor, "default-" + mojoDescriptor.getGoal() );
|
||||||
|
|
||||||
populateMojoExecutionConfiguration( project, mojoExecution, true );
|
populateMojoExecutionConfiguration( project, mojoExecution, true );
|
||||||
|
|
Loading…
Reference in New Issue