changeset 861:f39c5b772cd0

Fix web war build (Vol2). The war module build is just a wrapper for producing a war. It does not compile anything, but packages other thermostat modules as war and includes a proper web.xml by doing so. Since it doesn't compile anyting, we can safely skip coverage and tests. In fact skipping coverage alone isn't enough since the maven surefire/coverage plugins are hooked up in a way were the latter passes some variable to the former. In any case, this patch fixes the build for me. I've confirmed with: $ mvn -B -f pom.xml jacoco:prepare-agent clean install \ pmd:pmd findbugs:findbugs checkstyle:checkstyle jacoco:report Reviewed-by: rkennke Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2012-December/004815.html
author Severin Gehwolf <sgehwolf@redhat.com>
date Mon, 17 Dec 2012 10:11:24 +0100
parents 962278cdeea5
children 05b6f3969868
files web/war/pom.xml
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/web/war/pom.xml	Fri Dec 14 18:36:56 2012 +0100
+++ b/web/war/pom.xml	Mon Dec 17 10:11:24 2012 +0100
@@ -80,6 +80,14 @@
           <skip>true</skip>
         </configuration>
       </plugin>
+      <!-- skip tests for war -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
     </plugins>
   </build>