Modified:
/examples/basicWebAppEvolution/pom.xml
=======================================
--- /examples/basicWebAppEvolution/pom.xml Fri Jan 20 09:32:50 2012
+++ /examples/basicWebAppEvolution/pom.xml Tue Feb 7 16:22:16 2012
@@ -29,10 +29,37 @@
<!--argLine>-Xmx512M</argLine-->
</configuration>
</plugin>
- </plugins>
- </build>
- <repositories>
- <repository>
+ <!-- copied from
http://blog.synyx.de/2011/10/testing-webapp-startup-on-jenkins-with-maven-tomcat-and-web-driver/
-->
+
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>tomcat-maven-plugin</artifactId>
+ <version>1.1</version>
+ <configuration>
+ <fork>true</fork>
+ <port>8081</port>
+ </configuration>
+ <executions>
+ <execution>
+ <id>start-tc</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run-war-only</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>stop-tc</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>shutdown</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ <repositories>
+ <repository>
<id>parancoe-org-repository</id>
<name>Parancoe Repository for Maven</name>
<url>http://maven2.parancoe.org/repo/</url>
@@ -146,7 +173,7 @@
<dependency>
<groupId>hsqldb</groupId>
<artifactId>hsqldb</artifactId>
- <scope>provided</scope>
+ <scope>compile</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>