Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
I don't know if my first post was displayed on the list (coz i received an e-mail to confirm my subscription).My question is : Is it possible to get Maven to checkout a labelled version of a project in CVS and not necessarily the latest version of the project?If so , how does one specify that?

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
Set maven.scm.tag to the tag you want, like: maven scm:checkout -Dmaven.scm.tag=FOO ... See http://maven.apache.org/reference/plugins/scm/properties.html Regards, Gisbert Amm Jeffrey Mutonho wrote: I don't know if my first post was displayed on the list (coz i received an e-mail to confirm

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: Set maven.scm.tag to the tag you want, like: maven scm:checkout -Dmaven.scm.tag=FOO ... See http://maven.apache.org/reference/plugins/scm/properties.html I have a preGoal defined preGoal name=build-all j:set

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: I think it should rather be preGoal name=build-all j:set var=maven.scm.cvs.moduleSQLAdmin/j:set j:set var=maven.scm.tagSQLAdmin_1_0/j:set attainGoal name=scm:cvs-checkout-project/ /preGoal Note that maven.scm.cvs.module is

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
It's not non-existant, it was formerly there and is obviously still existing in your version of the SCM plugin. However, it'll vanish when you upgrade the plugin one day (since it's deprecated). But you're right: As long as Maven does what you expect and doesn't complain, you don't need to

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: It's not non-existant, it was formerly there and is obviously still existing in your version of the SCM plugin. However, it'll vanish when you upgrade the plugin one day (since it's deprecated). But you're right: As long as Maven does what you

Re: Checking out a labelled version

2005-06-28 Thread Gisbert Amm
Sorry, I did misunderstand you indeed ;-) I'm afraid I cannot help you much further. Does Maven complain when you try it from the commandline like that?: maven scm:cvs-checkout-project -Dmaven.scm.cvs.module=SQLAdmin -Dmaven.scm.tag=FOO_BAR_TAG ... Does it correctly check out your tagged

Re: Checking out a labelled version

2005-06-28 Thread Jeffrey Mutonho
On 6/28/05, Gisbert Amm [EMAIL PROTECTED] wrote: Sorry, I did misunderstand you indeed ;-) I'm afraid I cannot help you much further. Does Maven complain when you try it from the commandline like that?: maven scm:cvs-checkout-project -Dmaven.scm.cvs.module=SQLAdmin