maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test SurefirePlugin.java
Date Mon, 07 Mar 2005 19:21:38 GMT
brett       2005/03/07 11:21:38

  Modified:    maven-core/src/main/java/org/apache/maven/execution
                        MavenSession.java
               maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test
                        SurefirePlugin.java
  Log:
  remove old code related to the previous goal structure
  
  Revision  Changes    Path
  1.6       +1 -17     maven-components/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
  
  Index: MavenSession.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- MavenSession.java	7 Mar 2005 19:03:18 -0000	1.5
  +++ MavenSession.java	7 Mar 2005 19:21:38 -0000	1.6
  @@ -134,22 +134,6 @@
           return container.lookup( role, roleHint );
       }
   
  -    // TODO: can remove when phases are gone
  -    public void release( Object component )
  -    {
  -        if ( component != null )
  -        {
  -            try
  -            {
  -                container.release( component );
  -            }
  -            catch ( Exception e )
  -            {
  -                //@todo what to do here?
  -            }
  -        }
  -    }
  -
       public EventDispatcher getEventDispatcher()
       {
           return eventDispatcher;
  
  
  
  1.18      +2 -7      maven-components/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java
  
  Index: SurefirePlugin.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-plugins/maven-surefire-plugin/src/main/java/org/apache/maven/test/SurefirePlugin.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- SurefirePlugin.java	7 Mar 2005 09:41:55 -0000	1.17
  +++ SurefirePlugin.java	7 Mar 2005 19:21:38 -0000	1.18
  @@ -16,11 +16,6 @@
    *
    * @description Run tests using surefire
    *
  - * @prereq compiler:compile
  - * @prereq compiler:testCompile
  - * @prereq resources:resources
  - * @prereq resources:testResources
  - *
    * @parameter
    *  name="mavenRepoLocal"
    *  type="String"
  @@ -181,7 +176,7 @@
   
           if ( !success )
           {
  -            response.setExecutionFailure( true, new SurefireFailureResponse( null ) );
  +            response.setExecutionFailure( new SurefireFailureResponse( null ) );
           }
       }
   
  
  
  

Mime
View raw message