<snip/> > > > b) Users must *know* to run the 'cvs login' command first. I have > > tried to preGoal with a call to the ant:cvspass task. Even > > though this task executes correctly and a .cvspass file is > > created, changelog merrily ignores it. > > There is the problem. After a look in the soucre of chanlog plugin, it > appears that it use org.netbeans.lib.cvsclient to manage cvs connection. > All requiered methodes to log with a password seems to be present, > however I don't see how to modify the maven plugin to take a password > parameter.
For some reason, when you step through the execution in a debugger, the AbstractChangeLogGenerator's getEntries() method is getting invoked and not the overridden version in CvsChangeLogGenerator. Puzzling. Anyway I haven't fussed with it too much. > > Do you know a way in java to access the "maven.cvs.password" value > define in project.properties ? Don't know. What is it used for? Can you not just set it on the command line? > > Carl Sri > > > > > Sri > > > >>-----Original Message----- > >>From: Carl [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, October 30, 2003 1:16 PM > >>To: [EMAIL PROTECTED] > >>Subject: password for CVS pserver ? > >> > >>Hello, > >> > >>I'm not sure it's the right place for this question, sorry if it's not. > >> > >>I'm new in maven world and start to use it for a simple project. I used > >>to commit all my sources on a CVS server. > >> > >>When maven try to generate activity report (file & developper) it fails > >>to connect to the cvs server because the cvs server need a password. > >>Here is the relevant part of my project.xml : > >> > >><repository> > >><connection>scm:cvs:pserver:[EMAIL PROTECTED]:/usr/local/cvsroot:javaproj > ec > >>t</connection> > >></repository> > >> > >>I looked arround the maven site, the source of the changlog pluqin, but > >>havent found yet the solution. > >> > >>Is there a way to specify such a passord (may be in project.properties > >>?) and how ? > >> > >>Thanks for all reply, > >> > >>Carl > >> > >> > >>--------------------------------------------------------------------- > >>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] > > > > > > > --------------------------------------------------------------------- > 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]
