Dan,

We have two cases of releases. For QA, we number the build as 
App-MAJOR.TESTBUILDNUMBER,
such as App-4.3001, App-4.3002 . At release time we have a PRODBUILDNUMBER, 
such as App-4.5001,
App-4.5002 (these are release candidates). 

My coworkers want a "one-click" build, so I was hoping I can do a batch file 
with a param 
for the build number and run it. That not being possible, we decided we will 
run mvn from 
command line. In case of a release we specify 500x for the version during 
release:prepare 
while keeping the pom.xml version number as 300x-SNAPSHOT. Like this QA - which 
is more often -
can run in batch-mode.

thanks,
Attila

Dan wrote:
>
>that is correct.  you can not specify version on command line with batch
>mode.
>
>Why not trusting release:prepare to do that job for you?
>
>-D
>
>On 10/12/06, Attila Mezei-Horvati <[EMAIL PROTECTED]> wrote:
>>
>> Hi all,
>>
>> Sorry for all the spam generated by me. :)
>>
>> I was wondering if I can specify the version number for batch-mode in
>> command line or some properties.
>>
>> I think in batch mode it will be automatic and I can not control it, but
>> would like to make sure. I couldn't find any info on it on the net.
>> I hope one of the gurus will help.
>> thanks,
>> Attila
>>






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to