You could set <currentVersion>${myversion}</currentVersion> and then pass
myversion in on the command line:
maven -Dmyversion=1.2 jar:jar


----- Original Message ----- 
From: "Roberto Castro" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 2:02 PM
Subject: How to correlate "pom.currentVersion" with CVS tag.


> 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]
>



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

Reply via email to