From the original post, it appears that the hang is in the testing phase so I am not sure how much information will come out in a dump or Maven debug mode but it will not hurt anything.

I am more suspicious about a test with a loop that does not terminate or a test with a set of bad credentials or a bad URL that is causing a remote operation or database access to fail and go into a wait state.

Ron

On 09/10/2012 3:22 PM, Curtis Rueden wrote:
Hi Stephane,

I have a Maven build that hangs and I wonder what to do to get some
feedback like a message or stack trace or dump..
Did you try Ctrl+\ (or Ctrl+Pause on Windows) from the console to do a full
thread dump? It might shed some light on what is going on. You can also run
Maven in debug mode ("mvn -X") to potentially get more information about
where things hang.

HTH,
Curtis


On Tue, Oct 9, 2012 at 1:15 PM, Stephane-3 <mittiprove...@yahoo.se> wrote:

Hi,

I have a Maven build that hangs and I wonder what to do to get some
feedback
like a message or stack trace or dump..

I'm stuck trying to run some integration tests

http://forum.springsource.org/showthread.php?130859-Maven-build-hangs-on-simple-Roo-script&p=426888&posted=1#post426888

Thanks
Stephane



--
View this message in context:
http://maven.40175.n5.nabble.com/What-diagnostic-action-to-take-when-Maven-hangs-tp5725345.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org




--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to