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:[email protected]] 
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 <[email protected]> 
28.07.2010 09:52
Please respond to
"Maven Users List" <[email protected]>


To
"[email protected]" <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to