continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r328878 - in /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven: MavenOneContinuumProjectBuilder.java MavenTwoContinuumProjectBuilder.java
Date Thu, 27 Oct 2005 14:09:09 GMT
Author: evenisse
Date: Thu Oct 27 07:09:05 2005
New Revision: 328878

URL: http://svn.apache.org/viewcvs?rev=328878&view=rev
Log:
Add warning is groupId is null

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenOneContinuumProjectBuilder.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenOneContinuumProjectBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenOneContinuumProjectBuilder.java?rev=328878&r1=328877&r2=328878&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenOneContinuumProjectBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenOneContinuumProjectBuilder.java
Thu Oct 27 07:09:05 2005
@@ -122,7 +122,7 @@
 
         if ( StringUtils.isEmpty( project.getGroupId() ) )
         {
-            return null;
+            result.addWarning( "groupId is null." );
         }
 
         projectGroup.setGroupId( project.getGroupId() );

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java?rev=328878&r1=328877&r2=328878&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/project/builder/maven/MavenTwoContinuumProjectBuilder.java
Thu Oct 27 07:09:05 2005
@@ -213,6 +213,8 @@
 
         if ( StringUtils.isEmpty( mavenProject.getGroupId() ) )
         {
+            result.addWarning( "groupId is null." );
+
             return null;
         }
 



Mime
View raw message