maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal MavenGoalExecutionContext.java
Date Sat, 25 Dec 2004 16:38:26 GMT
jvanzyl     2004/12/25 08:38:26

  Modified:    maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase
                        GoalAttainmentPhase.java GoalMappingPhase.java
               maven-core/src/main/java/org/apache/maven/lifecycle/goal
                        MavenGoalExecutionContext.java
  Log:
  no message
  
  Revision  Changes    Path
  1.9       +3 -3      maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase/GoalAttainmentPhase.java
  
  Index: GoalAttainmentPhase.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/phase/GoalAttainmentPhase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- GoalAttainmentPhase.java	25 Dec 2004 16:26:24 -0000	1.8
  +++ GoalAttainmentPhase.java	25 Dec 2004 16:38:26 -0000	1.9
  @@ -46,9 +46,9 @@
       public void execute( MavenGoalExecutionContext context )
           throws GoalExecutionException
       {
  -        PluginExecutionResponse response;
  -
           PluginExecutionRequest request;
  +
  +        PluginExecutionResponse response;
   
           for ( Iterator it = context.getResolvedGoals().iterator(); it.hasNext(); )
           {
  
  
  
  1.7       +10 -7     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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- GoalMappingPhase.java	25 Dec 2004 16:26:24 -0000	1.6
  +++ GoalMappingPhase.java	25 Dec 2004 16:38:26 -0000	1.7
  @@ -37,7 +37,8 @@
       extends AbstractMavenGoalPhase
   {
   
  -    public void execute( MavenGoalExecutionContext context ) throws GoalExecutionException
  +    public void execute( MavenGoalExecutionContext context )
  +        throws GoalExecutionException
       {
           GoalMappingVisitor visitor = new GoalMappingVisitor( context.getSession().getPluginManager()
);
   
  @@ -64,7 +65,8 @@
               this.pluginManager = pluginManager;
           }
   
  -        public void visitPrereq( String goal, String prereq, MavenSession session ) throws
GraphTraversalException
  +        public void visitPrereq( String goal, String prereq, MavenSession session )
  +            throws GraphTraversalException
           {
               GoalWalker.walk( prereq, session, this );
               
  @@ -80,29 +82,30 @@
               }
           }
   
  -        public void visitPostGoal( String goal, String postGoal, MavenSession session )
throws GraphTraversalException
  +        public void visitPostGoal( String goal, String postGoal, MavenSession session )
  +            throws GraphTraversalException
           {
               GoalWalker.walk( postGoal, session, this );
           }
   
  -        public void visitPreGoal( String goal, String preGoal, MavenSession session ) throws
GraphTraversalException
  +        public void visitPreGoal( String goal, String preGoal, MavenSession session )
  +            throws GraphTraversalException
           {
               GoalWalker.walk( preGoal, session, this );
           }
   
  -        public void visitGoal( String goal, MavenSession session ) throws GraphTraversalException
  +        public void visitGoal( String goal, MavenSession session )
           {
               session.addSingleExecution( goal );
               
               visited.add( goal );
           }
   
  -        public boolean shouldVisit( String goal, MavenSession session ) throws GraphTraversalException
  +        public boolean shouldVisit( String goal, MavenSession session )
           {
               boolean result = !visited.contains( goal );
   
               return result;
           }
  -
       }
   }
  
  
  
  1.8       +0 -2      maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/MavenGoalExecutionContext.java
  
  Index: MavenGoalExecutionContext.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/lifecycle/goal/MavenGoalExecutionContext.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- MavenGoalExecutionContext.java	25 Dec 2004 16:29:15 -0000	1.7
  +++ MavenGoalExecutionContext.java	25 Dec 2004 16:38:26 -0000	1.8
  @@ -42,8 +42,6 @@
   
       private List resolvedGoals;
   
  -    //    private GoalDecoratorBindings goalDecoratorBindings;
  -
       private String goalName;
   
       private boolean requiresDependencies;
  
  
  

Mime
View raw message