I've been wrestling with the repository <connection> entry in
project.xml trying to get it to find a local repository, but I haven't
had any luck. I looked into the code a bit and found that Maven used
the 8th character up to the last semicolon to designate the CVSROOT
(hence scm:cvs:pserver:user@domain:/cvs-repository:project, will use a
CVSROOT of :pserver:user@domain:/cvs-repository), but no matter how I
configure it, I get the following error. I would expect that having the
8th character start the local repository directory should do the trick,
but no luck.
changelog:generate:
cvs log: No CVSROOT specified! Please use the `-d' option
cvs [log aborted]: or set the CVSROOT environment variable.
ChangeLog found: 0 entries
changelog:
I did find a workaround to enable using local repositories. If the
project directory you are using to run Maven is a directory that was
checked out from CVS, cvslog will find it's way back to the repository.
In this case, the <connection> entry has no effect.
I would like to know what the problem is with the first method of
defining the cvs root. Is there some other tag that I'm missing that
will handle this? The latter is an undocumented "feature" that can
cause a few headaches to figure out. Maybe that should be slipped into
the docs somewhere.
I'm using:
Maven 1.0 beta 6
JDK 1.4.1
Red Hat 7.3
Thanks,
Eric