o Added code to populate the visited set for the goal mapping phase.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163133 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2004-09-21 23:33:02 +00:00
parent 78563d686f
commit 3e49095f26
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class GoalMappingPhase
try
{
session.addImpliedExecution( goal, prereq );
visited.add( prereq );
}
catch ( CycleDetectedException e )
{
@ -79,6 +80,7 @@ public class GoalMappingPhase
public void visitGoal( String goal, MavenSession session ) throws GraphTraversalException
{
session.addSingleExecution( goal );
visited.add( goal );
}
public boolean shouldVisit( String goal, MavenSession session ) throws GraphTraversalException