maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: tomcat blocks maven
Date Mon, 22 Feb 2010 07:21:48 GMT
Why aren't you using a real maven plugin to start tomcat and to deploy to
tomcat?
http://mojo.codehaus.org/tomcat-maven-plugin/
or
http://cargo.codehaus.org/Maven2+plugin

/Anders

On Sun, Feb 21, 2010 at 17:33, Douglas Ferguson
<douglas@douglasferguson.us>wrote:

> I have a pre-integration-test execution of the ant task plugin that
> installs my snapshot so that the integration tests can run against the new
> snapshot.
>
> After my install script exits maven hangs. I tracked this down to the fact
> that my install script stops and starts tomcat.
> If I stop tomcat at the end of my install script maven runs fine.
>
> My work around is to call a wrapper script that calls install then stop
> tomcat.
> Then start tomcat in a separate execution with "fork=true"
>
> Even though I have a work around I'd like to get to the bottom of this for
> 2 reasons
>
> 1) I can't for the life of me think of what tomcat/maven could be doing to
> cause this
> 2) It would be nice to test the real world install script and not one that
> restarts tomcat (i.e. what if I'm masking a bug)
>
> D/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message