mirror of https://github.com/apache/maven.git
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:
parent
8e02162f79
commit
4d6c85244d
|
@ -37,7 +37,7 @@ public class DependencyDownloadPhase
|
|||
public void execute( MavenGoalExecutionContext context )
|
||||
throws GoalExecutionException
|
||||
{
|
||||
if(context.requiresDependencies())
|
||||
if ( context.requiresDependencies() )
|
||||
{
|
||||
ArtifactResolver artifactResolver = null;
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ public class DependencyResolutionPhase
|
|||
String goalName = (String) iterator.next();
|
||||
|
||||
MojoDescriptor mojoDescriptor = context.getMojoDescriptor( goalName );
|
||||
|
||||
if ( mojoDescriptor.requiresDependencyResolution() )
|
||||
{
|
||||
requiresDependencies = true;
|
||||
|
|
Loading…
Reference in New Issue