« Return to Thread: tomcat maven plugin, how to fork during integration test

Re: tomcat maven plugin, how to fork during integration test

by Tanner Perrien :: Rate this Message:

Reply to Author | View in Thread

Did this ever get resolved? I am trying to do something similar.


https://jira.codehaus.org/browse/MTOMCAT-20

cj91 wrote:
I'm trying to use the maven tomcat plugin to start an embedded instance so I can run integration tests against the application. I would like to fork an embedded tomcat instance and deploy the war to it, then later shut it down after the integration test phase is complete. Currently, I reach the pre-integration-phase, maven executes the run command for the tomcat plugin, but will not fork, causing my build to freeze with tomcat running happily. How can I fix this so I can run it in the background?

 « Return to Thread: tomcat maven plugin, how to fork during integration test