mirror of https://github.com/apache/maven.git
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:
parent
78563d686f
commit
3e49095f26
|
@ -59,6 +59,7 @@ public class GoalMappingPhase
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
session.addImpliedExecution( goal, prereq );
|
session.addImpliedExecution( goal, prereq );
|
||||||
|
visited.add( prereq );
|
||||||
}
|
}
|
||||||
catch ( CycleDetectedException e )
|
catch ( CycleDetectedException e )
|
||||||
{
|
{
|
||||||
|
@ -79,6 +80,7 @@ public class GoalMappingPhase
|
||||||
public void visitGoal( String goal, MavenSession session ) throws GraphTraversalException
|
public void visitGoal( String goal, MavenSession session ) throws GraphTraversalException
|
||||||
{
|
{
|
||||||
session.addSingleExecution( goal );
|
session.addSingleExecution( goal );
|
||||||
|
visited.add( goal );
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean shouldVisit( String goal, MavenSession session ) throws GraphTraversalException
|
public boolean shouldVisit( String goal, MavenSession session ) throws GraphTraversalException
|
||||||
|
|
Loading…
Reference in New Issue