]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1164] Add xvfb to run headless on vmbuild.
authorWendy Smoak <wsmoak@apache.org>
Thu, 14 May 2009 14:32:58 +0000 (14:32 +0000)
committerWendy Smoak <wsmoak@apache.org>
Thu, 14 May 2009 14:32:58 +0000 (14:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@774787 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/pom.xml

index 3b73486b64c6487815f86e8c704685928ea13a20..63abdac4cb6dfb93f35c9851bc70ebe4f24ff201 100644 (file)
         <selenium.browser>*custom ${browserPath}</selenium.browser>
       </properties>
     </profile>
+    <profile>
+      <id>headless</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>selenium-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>xvfb</id>
+                <phase>validate</phase>
+                <goals>
+                  <goal>xvfb</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 </project>