Hi,

I'm using Maven 3.0.3.  I wanted to use the Maven-Tomcat plugin to run some
Selenium integration tests against, starting the server in the
pre-integration-test phase, running the tests, and then shutting the server
down in the post-integration-test phase.  Is this possible?  Currently with
the below configuration ...

                        <plugin>
                                <groupId>org.codehaus.mojo</groupId>
                                <artifactId>tomcat-maven-plugin</artifactId>
                                <configuration>
                                
<warFile>target/${project.artifactId}-${project.version}.${project.packaging}</warFile>
                                </configuration>
                                <executions>
                                        <execution>
                                                <id>start-tomcat</id>
                                                
<phase>pre-integration-test</phase>
                                                <goals>
                                                        <goal>run</goal>
                                                </goals>
                                        </execution>
                                        <execution>
                                                <id>stop-tomcat</id>
                                                
<phase>post-integration-test</phase>
                                                <goals>
                                                        <goal>shutdown</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

My build freezes when Tomcat is started (last line on the console is "INFO:
Starting Coyote HTTP/1.1 on http-8080").

Any configuration help is appreciated, - Dave
-- 
View this message in context: 
http://old.nabble.com/Possible-to-use-Maven-Tomcat-plugin-to-run-integration-tests--tp32718440p32718440.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to