diff --unified --recursive maven-plugins maven-plugins.new
--- maven-plugins/war/plugin.jelly 2005-03-09 10:21:24.000000000 -0800
+++ maven-plugins.new/war/plugin.jelly     2005-04-22 17:53:21.395869616 -0700
@@ -257,9 +257,12 @@
   <!-- In-place deployment of the web application                       -->
   <!--==================================================================-->  
   <goal name="war:inplace"
+    prereqs="war:init"
     description="Deploy a webapp into maven.war.src - in particular setting up WEB-INF/lib and WEB-INF/classes">
     <j:set var="maven.war.webapp.dir" value="${maven.war.src}"/>
-    <attainGoal name="war:webapp"/>
+    <j:if test="${webSourcesPresent == 'true'}">
+      <attainGoal name="war:webapp"/>
+    </j:if>
   </goal> 
 
   <!--==================================================================-->

