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 DefaultMavenCore.java
Date Tue, 22 Jun 2004 16:25:39 GMT
jvanzyl     2004/06/22 09:25:39

  Modified:    maven-core/src/main/java/org/apache/maven
                        DefaultMavenCore.java
  Log:
  o make the reactor fail by default when it encounters a failed build.
  
  Revision  Changes    Path
  1.11      +5 -0      maven-components/maven-core/src/main/java/org/apache/maven/DefaultMavenCore.java
  
  Index: DefaultMavenCore.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/main/java/org/apache/maven/DefaultMavenCore.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultMavenCore.java	21 Jun 2004 19:40:39 -0000	1.10
  +++ DefaultMavenCore.java	22 Jun 2004 16:25:38 -0000	1.11
  @@ -243,6 +243,11 @@
           for ( Iterator iterator = projects.iterator(); iterator.hasNext(); )
           {
               response = execute( (MavenProject) iterator.next(), goalsList );
  +
  +            if ( response.isExecutionFailure() )
  +            {
  +                break;
  +            }
           }
   
           return response;
  
  
  

Mime
View raw message