maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdca...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase GoalMappingPhase.java
Date Tue, 21 Sep 2004 23:33:02 GMT
jdcasey     2004/09/21 16:33:02

  Modified:    maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase
                        GoalMappingPhase.java
  Log:
  o Added code to populate the visited set for the goal mapping phase.
  
  Revision  Changes    Path
  1.2       +2 -0      maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase/GoalMappingPhase.java
  
  Index: GoalMappingPhase.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase/GoalMappingPhase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- GoalMappingPhase.java	21 Sep 2004 23:11:16 -0000	1.1
  +++ GoalMappingPhase.java	21 Sep 2004 23:33:02 -0000	1.2
  @@ -59,6 +59,7 @@
               try
               {
                   session.addImpliedExecution( goal, prereq );
  +                visited.add( prereq );
               }
               catch ( CycleDetectedException e )
               {
  @@ -79,6 +80,7 @@
           public void visitGoal( String goal, MavenSession session ) throws GraphTraversalException
           {
               session.addSingleExecution( goal );
  +            visited.add( goal );
           }
   
           public boolean shouldVisit( String goal, MavenSession session ) throws GraphTraversalException
  
  
  

Mime
View raw message