Author: olamy
Date: Fri Jun 17 20:59:47 2011
New Revision: 1137020
URL: http://svn.apache.org/viewvc?rev=1137020&view=rev
Log:
add xvfb profile to be able to run selenium test on a headless machine
Modified:
archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
Modified: archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
URL:
http://svn.apache.org/viewvc/archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml?rev=1137020&r1=1137019&r2=1137020&view=diff
==============================================================================
--- archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml
(original)
+++ archiva/trunk/archiva-modules/archiva-web/archiva-webapp-test/pom.xml Fri
Jun 17 20:59:47 2011
@@ -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>