You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stevo Slavić <ss...@gmail.com> on 2009/04/02 18:14:09 UTC

When Maven build dies...

Hello Maven users,

What to do when Maven build, out of nowhere, just dies, without exception
thrown, no build failure message, nothing, maven process just ends and
command line cursor appears?

Regards,
Stevo.

Re: When Maven build dies...

Posted by Jörg Schaible <jo...@gmx.de>.
Wayne Fay wrote at Donnerstag, 2. April 2009 18:44:

>> What to do when Maven build, out of nowhere, just dies, without exception
>> thrown, no build failure message, nothing, maven process just ends and
>> command line cursor appears?
> 
> I've never, ever seen that happen. Did someone else on your machine
> issue a "kill" command using ps on Unix or Task Manager on Windows?

This can also be a daemon, that kill a process taking too much memory.

- Jörg


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


Re: When Maven build dies...

Posted by Wayne Fay <wa...@gmail.com>.
> What to do when Maven build, out of nowhere, just dies, without exception
> thrown, no build failure message, nothing, maven process just ends and
> command line cursor appears?

I've never, ever seen that happen. Did someone else on your machine
issue a "kill" command using ps on Unix or Task Manager on Windows?

I'd start running mvn -X on all your builds for a while and hope it
repeats. Then you'll have something to go on if/when it happens again.

Wayne

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


Re: When Maven build dies...

Posted by Stevo Slavić <ss...@gmail.com>.
There are no hs_err.* file(s), no custom code is being executed, I have no
problems reproducing it with this one project, using -X not telling much -
log either ends with compiler:compile configuring Output directory or with
surefire:test forking. Will try to find the pattern and/or upload debug
output log.

Regards,
Stevo.

On Thu, Apr 2, 2009 at 6:42 PM, Dirk Olmes <di...@xanthippe.ping.de> wrote:

> Stevo Slavić wrote:
> > Hello Maven users,
> >
> > What to do when Maven build, out of nowhere, just dies, without exception
> > thrown, no build failure message, nothing, maven process just ends and
> > command line cursor appears?
>
> I've seen this in situation where custom code was executed during the
> build (using the exec plugin) that had a System.exit() in it.
>
> Maybe that's your case, too?
>
> -dirk
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: When Maven build dies...

Posted by Dirk Olmes <di...@xanthippe.ping.de>.
Stevo Slavić wrote:
> Hello Maven users,
> 
> What to do when Maven build, out of nowhere, just dies, without exception
> thrown, no build failure message, nothing, maven process just ends and
> command line cursor appears?

I've seen this in situation where custom code was executed during the
build (using the exec plugin) that had a System.exit() in it.

Maybe that's your case, too?

-dirk

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