Hi, Dion. I'm going to use scm plugin, but I need to inform which tag
version I'd like to checkout from cvs, and , I'll correlate jar version with
cvs tab using  "pom.currentversion".
That's OK! I'll follow John Taylor's suggestion:
"       You could set <currentVersion>${myversion}</currentVersion> and then
pass
        myversion in on the command line:
        maven -Dmyversion=1.2 jar:jar"

        Thanks a lot,

     Roberto de Castro 
     Analista de Suporte 
     Cetip - Desus Rio de Janeiro 
     +55 21 2276-7439 
     mailto:[EMAIL PROTECTED] 




-----Mensagem original-----
De: Dion Gillard [mailto:[EMAIL PROTECTED]
Enviada em: quarta-feira, 7 de julho de 2004 22:34
Para: Maven Users List
Assunto: Re: How to correlate "pom.currentVersion" with CVS tag.


Is there a reason you can't use the scm plugin for this?

On Wed, 7 Jul 2004 10:02:16 -0300 , Roberto Castro
<[EMAIL PROTECTED]> wrote:
> Hi, I'like to generate jar files of my project downloading source codes
from
> CVS. I'd like to run maven passing a parameter indicating the CVS tag
> version. I'd like to configure "pom.currentVersion" with the same CVS
> version, in order to, generate jar files  with this version.
> Is it possible to configure "pom.currentVersion" dimanically?
>         Thanks in advance,
> 
>      Roberto de Castro
>      Analista de Suporte
>      Cetip - Desus Rio de Janeiro
>      +55 21 2276-7439
>      mailto:[EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
http://www.multitask.com.au/people/dion/

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

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


Reply via email to