Diasparsoft Logo Let's write software that people understand.

Home | Contact

Training

JUnit support

Outsourcing

The work that Diasparsoft did for us was outstanding. We are now using the software on a daily basis and their work could well have a dramatic impact on the Reds' organization in the near future.Cincinnati Reds Baseball Club.


Publications

Tips & Tricks

Diasparsoft Toolkit

What is Diaspar?

Interesting Bits RSS

Home » Archives » June 2004 » Maven, CVS and .cvspass

[Previous entry: "XMLJUnitResultFormatter behaving badly"] [Next entry: "Eclipse 3.0RC1 and JUnit"]

06/07/2004: "Maven, CVS and .cvspass"


This is a technical tip for mystified Maven users. I'm adding this as Google bait because I couldn't find the answer with the keywords I'd chosen.

I was having trouble running the site:generate goal: it was not logging into CVS correctly. At first, it complained about not finding .cvspass, and then when I created an empty one the goal complained about not finding the right password. I tried using the Windows client to login to CVS, but it did not create .cvspass on my file system. It turns out to be easy to ask Maven to create .cvspass with the desired password.

You can find the answer here.

If you want a shorter version, issue this command:

maven -Dpassword=XXXXXXXX changelog:create-cvspass

Here, XXXXXXXX is your CVS password. Be sure to have set the Maven property maven.username to match the username you use to login to CVS.