add xvfb profile to be able to run selenium test on a headless machine

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137020 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-17 20:59:47 +00:00
parent f23144e02f
commit 85bf1da66b
1 changed files with 23 additions and 0 deletions
archiva-modules/archiva-web/archiva-webapp-test

View File

@ -613,6 +613,29 @@
<maxWaitTimeInMs>3600000</maxWaitTimeInMs>
</properties>
</profile>
<profile>
<id>xvfb</id>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>selenium-maven-plugin</artifactId>
<executions>
<execution>
<id>xvfb</id>
<phase>pre-integration-test</phase>
<goals>
<goal>xvfb</goal>
</goals>
<configuration>
<display>:2</display>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<pluginRepositories>