mirror of https://github.com/apache/maven.git
o formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163209 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
46e1c4632b
commit
2fe3bf7830
|
@ -38,16 +38,16 @@ public class DependencyResolutionPhase
|
|||
throws GoalExecutionException
|
||||
{
|
||||
boolean requiresDependencies = false;
|
||||
|
||||
|
||||
for ( Iterator iterator = context.getResolvedGoals().iterator(); iterator.hasNext(); )
|
||||
{
|
||||
String goalName = (String) iterator.next();
|
||||
|
||||
MojoDescriptor mojoDescriptor = context.getMojoDescriptor(goalName);
|
||||
MojoDescriptor mojoDescriptor = context.getMojoDescriptor( goalName );
|
||||
if ( mojoDescriptor.requiresDependencyResolution() )
|
||||
{
|
||||
requiresDependencies = true;
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
resolveTransitiveDependencies( context );
|
||||
|
@ -60,8 +60,8 @@ public class DependencyResolutionPhase
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
context.requiresDependencies(requiresDependencies);
|
||||
|
||||
context.requiresDependencies( requiresDependencies );
|
||||
}
|
||||
|
||||
private void resolveTransitiveDependencies( MavenGoalExecutionContext context )
|
||||
|
|
Loading…
Reference in New Issue