You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kannan Jayaprakasam <ka...@arcot.com> on 2010/07/28 09:51:43 UTC
Why does maven build on dos prompt keeps waiting for user to press
enter?
For my pom.xml based maven build, at multiple places it waits and keeps waiting until I press Enter. This is a huge time waster because for a big project I have to constantly monitor the window and keep pressing Enter. How to make it just proceed without waiting? Pressing a number of Enters beforehand doesn't help.
Re: Why does maven build on dos prompt keeps waiting for user to
press enter?
Posted by Brett Randall <ja...@gmail.com>.
What is Maven executing and what is in the output right before each
pause/prompt?
Brett
On 7/28/10, Kannan Jayaprakasam <ka...@arcot.com> wrote:
> For my pom.xml based maven build, at multiple places it waits and keeps
> waiting until I press Enter. This is a huge time waster because for a big
> project I have to constantly monitor the window and keep pressing Enter. How
> to make it just proceed without waiting? Pressing a number of Enters
> beforehand doesn't help.
>
>
--
Sent from my mobile device
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Why does maven build on dos prompt keeps waiting for user to
press enter?
Posted by Kannan Jayaprakasam <ka...@arcot.com>.
I tried the -B option. Sometimes it makes it go without pausing for Enter. But most times it still keeps waiting, for example after downloading an artifact, or after displaying a message "Compiling source files".
-----Original Message-----
From: Stefan Cordes [mailto:dt0b35@retail-sc.com]
Sent: Wednesday, July 28, 2010 3:35 PM
To: Maven Users List
Subject: Re: Why does maven build on dos prompt keeps waiting for user to press enter?
Hi!
You may try "-B" option = Batch
Here is what we do:
tempFileWriter.write("call mvn release:prepare"
+ " -B " // Batch Mode
+ " -Dresume=false " + "
-DreleaseVersion=" + tempNextVersionNumber + " -DdevelopmentVersion="
+ tempNextVersionNumber +
"-SNAPSHOT " + " -Dtag=" + tempCvsVersionTag + " " + "\r\n");
Gruß,
Stefan Cordes
P Please consider the environmental impact of needlessly printing this
e-mail.
Kannan Jayaprakasam <ka...@arcot.com>
28.07.2010 09:52
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
"users@maven.apache.org" <us...@maven.apache.org>
cc
Subject
Why does maven build on dos prompt keeps waiting for user to press enter?
For my pom.xml based maven build, at multiple places it waits and keeps
waiting until I press Enter. This is a huge time waster because for a big
project I have to constantly monitor the window and keep pressing Enter.
How to make it just proceed without waiting? Pressing a number of Enters
beforehand doesn't help.
!DSPAM:4c4fe1c194471804284693!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: Why does maven build on dos prompt keeps waiting for user to press
enter?
Posted by Stefan Cordes <dt...@retail-sc.com>.
Hi!
You may try "-B" option = Batch
Here is what we do:
tempFileWriter.write("call mvn release:prepare"
+ " -B " // Batch Mode
+ " -Dresume=false " + "
-DreleaseVersion=" + tempNextVersionNumber + " -DdevelopmentVersion="
+ tempNextVersionNumber +
"-SNAPSHOT " + " -Dtag=" + tempCvsVersionTag + " " + "\r\n");
Gruß,
Stefan Cordes
P Please consider the environmental impact of needlessly printing this
e-mail.
Kannan Jayaprakasam <ka...@arcot.com>
28.07.2010 09:52
Please respond to
"Maven Users List" <us...@maven.apache.org>
To
"users@maven.apache.org" <us...@maven.apache.org>
cc
Subject
Why does maven build on dos prompt keeps waiting for user to press enter?
For my pom.xml based maven build, at multiple places it waits and keeps
waiting until I press Enter. This is a huge time waster because for a big
project I have to constantly monitor the window and keep pressing Enter.
How to make it just proceed without waiting? Pressing a number of Enters
beforehand doesn't help.
!DSPAM:4c4fe1c194471804284693!