continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r219416 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Sun, 17 Jul 2005 22:46:19 GMT
Author: trygvis
Date: Sun Jul 17 15:46:16 2005
New Revision: 219416

URL: http://svn.apache.org/viewcvs?rev=219416&view=rev
Log:
o Stopping the adding of projects if there was any warnings.

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=219416&r1=219415&r2=219416&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Sun Jul 17 15:46:16 2005
@@ -279,6 +279,11 @@
 
             result = (ContinuumProjectBuildingResult) context.get( CreateProjectsFromMetadata.KEY_PROJECT_BUILDING_RESULT
);
 
+            if ( result.getWarnings().size() > 0 )
+            {
+                return result;
+            }
+
             List projects = result.getProjects();
 
             for ( Iterator i = projects.iterator(); i.hasNext(); )



Mime
View raw message