Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bind jetty:run to pre-integration-test phase and jetty:stop to post-i…

…ntegration-test phase so that jetty and the sample-webapp are automatically started and stopped during the build.
  • Loading branch information...
commit 11181299ded01309cf591d1768f5930d973c4513 1 parent 06c73cd
@skuenzli authored
Showing with 19 additions and 0 deletions.
  1. +19 −0 sample-webapp/pom.xml
View
19 sample-webapp/pom.xml
@@ -457,6 +457,25 @@
<contextPath>/${project.artifactId}</contextPath>
</webAppConfig>
</configuration>
+ <executions>
+ <execution>
+ <id>start-jetty</id>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <daemon>true</daemon>
+ </configuration>
+ </execution>
+ <execution>
+ <id>stop-jetty</id>
+ <phase>post-integration-test</phase>
+ <goals>
+ <goal>stop</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Please sign in to comment.
Something went wrong with that request. Please try again.