> I'm a little confused on how cvs is being used in maven, I really
> appreciate it if anyone can clarify a few things for me. For my project,
> we had an ant script that first checkout a module from our cvs
> repository to a build directory and then executed the build process from
> that directory. Does Maven also work this way?

It doesn't have to, but can.

Try:
maven scm:perform-release

> I had placed similar codes like the following into my project.xml. I'm
> not sure what these lines exactly does.
> <repository>
>    <connection>
>         scm:cvs:pserver:[EMAIL PROTECTED]:/src:maven/project4
>    </connection>
> </repository>

It is used for the scm goals, and also for generating the changelog
reports, and so on.

> In addition, do we use the folloiwng command to check out a module from
> the cvs repository?
> maven scm:checkout-project
>   -Dmaven.scm.method=cvs
>   -Dmaven.scm.cvs.module=project4
>   -Dmaven.scm.cvs.root=:pserver:[EMAIL PROTECTED]:/home/cvspublic
>   -Dmaven.scm.checkout.dir=.

Yes, though the next version will use a shorter version such as:
maven scm:checkout
-Dmaven.scm.url=scm:cvs:pserver:[EMAIL PROTECTED]:/home/cvspublic:project4

Cheers,
Brett

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

Reply via email to