Index: continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java
===================================================================
--- continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java	(revision 926610)
+++ continuum-core/src/main/java/org/apache/continuum/builder/distributed/manager/DefaultDistributedBuildManager.java	(working copy)
@@ -221,15 +221,22 @@
                                                                       scmRootAddress, scmRootId );
 
         OverallDistributedBuildQueue overallDistributedBuildQueue = getOverallDistributedBuildQueueByGroup( projectGroupId );
-
-        if ( overallDistributedBuildQueue == null )
+        
+        if ( hasBuildagentGroup( projectsBuildDefinitionsMap ) && overallDistributedBuildQueue == null )
         {
-            // get overall distributed build queue from build agent group
-            overallDistributedBuildQueue = getOverallDistributedBuildQueueByAgentGroup( projectsBuildDefinitionsMap );
+            if ( !hasBuildagentInGroup( projectsBuildDefinitionsMap ) )
+            {
+                log.warn( "No build agent configured in build agent group. Not building projects." );
+            }
+            else
+            {
+                // get overall distributed build queue from build agent group
+                overallDistributedBuildQueue = getOverallDistributedBuildQueueByAgentGroup( projectsBuildDefinitionsMap );
+            }
         }
-
-        if ( overallDistributedBuildQueue == null )
+        else if ( overallDistributedBuildQueue == null )
         {
+            // project does not have build agent group
             overallDistributedBuildQueue = getOverallDistributedBuildQueue();
         }
 
@@ -966,7 +973,7 @@
                     
                     for ( String buildAgentUrl : overallDistributedBuildQueues.keySet() )
                     {
-                        if ( ( !buildAgentUrls.isEmpty() && buildAgentUrls.contains( buildAgentUrl ) ) || buildAgentUrls.isEmpty() )
+                        if ( !buildAgentUrls.isEmpty() && buildAgentUrls.contains( buildAgentUrl ) )
                         {
                             OverallDistributedBuildQueue distributedBuildQueue = overallDistributedBuildQueues.get( buildAgentUrl );
 
@@ -1072,12 +1079,11 @@
     private BuildAgentGroupConfiguration getBuildAgentGroup( Map<Integer, Integer> projectsAndBuildDefinitions )
         throws ContinuumException
     {
-
         if ( projectsAndBuildDefinitions == null )
         {
             return null;
         }
-
+        
         try
         {
             List<Project> projects = new ArrayList<Project>();
@@ -1177,6 +1183,20 @@
             }
         }
     }
+    
+    private boolean hasBuildagentGroup( Map<Integer, Integer> projectsAndBuildDefinitionsMap )
+        throws ContinuumException
+    {
+        return getBuildAgentGroup( projectsAndBuildDefinitionsMap ) != null &&
+               getBuildAgentGroup( projectsAndBuildDefinitionsMap ).getName().length() > 0 ? true : false;
+    }
+    
+    private boolean hasBuildagentInGroup( Map<Integer, Integer> projectsAndBuildDefinitionsMap )
+        throws ContinuumException
+    {
+        return getBuildAgentGroup( projectsAndBuildDefinitionsMap ).getBuildAgents() != null &&
+               getBuildAgentGroup( projectsAndBuildDefinitionsMap ).getBuildAgents().size() > 0 ? true : false;
+    }
 
     // for unit testing
 
Index: continuum-docs/src/site/apt/user_guides/building_project/forced_build.apt
===================================================================
--- continuum-docs/src/site/apt/user_guides/building_project/forced_build.apt	(revision 926895)
+++ continuum-docs/src/site/apt/user_guides/building_project/forced_build.apt	(working copy)
@@ -18,13 +18,6 @@
 
     []
 
-    If there are duplicates of a project in <<another project group>> (duplicates would mean
-    another instance of a project with the same groupId, artifactId, and version),
-    all the projects are built.
-
-    However, if there are duplicates of a project in the <<same project group>>, only one (1) of the duplicated
-    projects is built.
-
     To manually build a project perform the following steps:
 
     [[1]] Click <<Show Project Groups>>.
@@ -50,5 +43,8 @@
     Click on the build icon to the right of the specific build goal you want to execute.
 
     []
+    
+    *Note* In a distributed build setup, the project builds are not executed if no build agent is
+    configured in the build environment that is attached to the project's build definition.
 
     To view the results of the build, refer to {{{./build_results.html}Build Results Management}}.
Index: continuum-docs/src/site/apt/user_guides/building_project/schedule_build.apt
===================================================================
--- continuum-docs/src/site/apt/user_guides/building_project/schedule_build.apt	(revision 926895)
+++ continuum-docs/src/site/apt/user_guides/building_project/schedule_build.apt	(working copy)
@@ -20,13 +20,6 @@
 
     []
 
-    If there are duplicates of a project in <<another project group>> (duplicates would mean
-    another instance of a project with the same groupId, artifactId, and version),
-    both projects are built.
-
-    However, if there are duplicates of a project in the <<same project group>>, only one (1)
-    of the projects is built.
-
     To configure a scheduled build:
 
     [[1]] Create a schedule. You can refer to {{{../../administrator_guides/schedules.html} Managing Schedules}} section.
@@ -37,5 +30,8 @@
 [../../images/schedule_build.png] Scheduling build
 
     []
+    
+    *Note* In a distributed build setup, the project builds are not executed if no build agent is
+    configured in the build environment that is attached to the project's build definition.
 
     To view the results of the build, refer to {{{./build_results.html}Build Results Management}}.
Index: continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java
===================================================================
--- continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java	(revision 926895)
+++ continuum-webapp/src/main/java/org/apache/maven/continuum/web/action/ProjectGroupAction.java	(working copy)
@@ -993,7 +993,6 @@
     public String getProjectGroupName()
         throws ContinuumException
     {
-
         return getProjectGroup( projectGroupId ).getName();
     }
 

