geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r566313 - /geronimo/server/trunk/testsuite/pom.xml
Date Wed, 15 Aug 2007 19:48:42 GMT
Author: prasad
Date: Wed Aug 15 12:48:41 2007
New Revision: 566313

URL: http://svn.apache.org/viewvc?view=rev&rev=566313
Log:
* make headless profile work.

Modified:
    geronimo/server/trunk/testsuite/pom.xml

Modified: geronimo/server/trunk/testsuite/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/pom.xml?view=diff&rev=566313&r1=566312&r2=566313
==============================================================================
--- geronimo/server/trunk/testsuite/pom.xml (original)
+++ geronimo/server/trunk/testsuite/pom.xml Wed Aug 15 12:48:41 2007
@@ -249,7 +249,6 @@
         </site>
     </distributionManagement>
     
-
     <reporting>
         <plugins>
             <plugin>
@@ -302,12 +301,11 @@
                                     </goals>
                                 </execution>
                                 -->
-
                             </executions>
                         </plugin>
                     </plugins>
                 </pluginManagement>
-                
+
                 <plugins>
                     <plugin>
                         <groupId>org.apache.geronimo.plugins</groupId>
@@ -326,25 +324,45 @@
                 </plugins>
             </build>
         </profile>
-        
+
         <profile>
             <id>headless</id>
             <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.codehaus.mojo</groupId>
-                        <artifactId>selenium-maven-plugin</artifactId>
-                        <executions>
-                            <execution>
-                                <id>xvfb</id>
-                                <phase>process-test-sources</phase>
-                                <goals>
-                                    <goal>xvfb</goal>
-                                </goals>
-                            </execution>
-                        </executions>
-                    </plugin>
-                </plugins>
+                <pluginManagement>
+                    <plugins>
+                        <plugin>
+                            <groupId>org.codehaus.mojo</groupId>
+                            <artifactId>selenium-maven-plugin</artifactId>
+                            <executions>
+                                <execution>
+                                    <id>xvfb</id>
+                                    <phase>process-test-sources</phase>
+                                    <goals>
+                                        <goal>xvfb</goal>
+                                    </goals>
+                                </execution>
+                            </executions>
+                        </plugin>
+
+                        <plugin>
+                            <groupId>org.apache.geronimo.plugins</groupId>
+                            <artifactId>geronimo-maven-plugin</artifactId>
+                            <executions>
+                                <execution>
+                                    <id>start-server</id>
+                                    <phase>pre-integration-test</phase>
+                                    <goals>
+                                        <goal>start-server</goal>
+                                    </goals>
+                                    <configuration>
+                                        <logOutput>true</logOutput>
+                                        <background>true</background>
+                                    </configuration>
+                                </execution>
+                            </executions>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
             </build>
         </profile>
         
@@ -353,7 +371,7 @@
         </profile>
     </profiles>
 
-     <repositories>
+    <repositories>
         <!--
         NOTE: This is useful to run the testsuite on any machine, independent of the Geronimo
build.
         scm location svn co https://svn.apache.org/repos/asf/geronimo/server/trunk/testsuite
@@ -372,5 +390,5 @@
                 <enabled>false</enabled>
             </releases>
         </repository>
-     </repositories>
+    </repositories>
 </project>



Mime
View raw message