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:
Benjamin Bentmann 2009-05-30 11:24:35 +00:00
parent 4ce879db0a
commit 1deef1f1d6
1 changed files with 2 additions and 0 deletions

View File

@ -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 );