o reformatting

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-12-25 16:35:42 +00:00
parent 8e02162f79
commit 4d6c85244d
2 changed files with 2 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public class DependencyDownloadPhase
public void execute( MavenGoalExecutionContext context ) public void execute( MavenGoalExecutionContext context )
throws GoalExecutionException throws GoalExecutionException
{ {
if(context.requiresDependencies()) if ( context.requiresDependencies() )
{ {
ArtifactResolver artifactResolver = null; ArtifactResolver artifactResolver = null;

View File

@ -45,6 +45,7 @@ public class DependencyResolutionPhase
String goalName = (String) iterator.next(); String goalName = (String) iterator.next();
MojoDescriptor mojoDescriptor = context.getMojoDescriptor( goalName ); MojoDescriptor mojoDescriptor = context.getMojoDescriptor( goalName );
if ( mojoDescriptor.requiresDependencyResolution() ) if ( mojoDescriptor.requiresDependencyResolution() )
{ {
requiresDependencies = true; requiresDependencies = true;