Index: src/main/java/hudson/maven/MavenUtil.java
===================================================================
--- src/main/java/hudson/maven/MavenUtil.java	(revision 21039)
+++ src/main/java/hudson/maven/MavenUtil.java	(working copy)
@@ -35,6 +35,7 @@
 import org.apache.maven.project.MavenProject;
 import org.apache.maven.project.ProjectBuildingException;
 import org.apache.commons.io.IOUtils;
+import org.apache.commons.lang.StringUtils;
 
 import java.io.File;
 import java.io.IOException;
@@ -166,20 +167,22 @@
         List<MavenProject> modules = new ArrayList<MavenProject>();
 
         for (String modulePath : (List<String>) project.getModules()) {
-            File moduleFile = new File(basedir, modulePath);
-            if (moduleFile.exists() && moduleFile.isDirectory()) {
-                moduleFile = new File(basedir, modulePath + "/pom.xml");
-            }
-            if(!moduleFile.exists())
-                throw new AbortException(moduleFile+" is referenced from "+project.getFile()+" but it doesn't exist");
-
-            String relativePath = rel;
-            if(relativePath.length()>0) relativePath+='/';
-            relativePath+=modulePath;
-
-            MavenProject child = embedder.readProject(moduleFile);
-            resolveModules(embedder,child,relativePath,relativePathInfo,listener);
-            modules.add(child);
+        	if (StringUtils.isNotBlank(modulePath)) {
+	            File moduleFile = new File(basedir, modulePath);
+	            if (moduleFile.exists() && moduleFile.isDirectory()) {
+	                moduleFile = new File(basedir, modulePath + "/pom.xml");
+	            }
+	            if(!moduleFile.exists())
+	                throw new AbortException(moduleFile+" is referenced from "+project.getFile()+" but it doesn't exist");
+	
+	            String relativePath = rel;
+	            if(relativePath.length()>0) relativePath+='/';
+	            relativePath+=modulePath;
+	
+	            MavenProject child = embedder.readProject(moduleFile);
+	            resolveModules(embedder,child,relativePath,relativePathInfo,listener);
+	            modules.add(child);
+        	}
         }
 
         project.setCollectedProjects(modules);