Well, yup, that worked. But... is that a workaround? It seems like the changelog plugin (or whichever component is accessing CVS) should know how to log in properly using a password, like Ant. This solution requires that the user have cvs installed locally. (Right?)
Thanks for the tip. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 7:52 PM To: Maven Users List Subject: Re: Specifying a CVS password (.cvspass?) Use cvs login to login before running Maven's reports. -- dIon Gillard, Multitask Consulting Blog: http://blogs.codehaus.org/people/dion/ "Jason Horne" <[EMAIL PROTECTED]> wrote on 27/09/2003 05:11:11 AM: > I'm trying to run the changelog report, but it doesn't work because > Maven supplies a blank password. How can you tell it to use a real > password? Note: I created a .cvspass file in my home directory, > which Ant reads and uses just fine: > > --- (snip) --- > C:\Java\Maven\plugins>type build.xml > <?xml version="1.0" encoding="UTF-8"?> > > <project name="ca" default="dist" basedir="."> > > <target name="feh"> > <cvs command="diff -u -N" output="patch.txt"/> > </target> > > </project> > > C:\Java\Maven\plugins>ant feh > Buildfile: build.xml > > feh: > [cvs] Using cvs passfile: C:\Documents and Settings\jahorn\.cvspass > [cvs] cvs server: Diffing . > [cvs] cvs server: Diffing maven-linkcheck-plugin-1.1-SNAPSHOT > --- (snip) --- > > Maven doesn't see it, though: > > --- (snip) --- > maven-changelog-plugin:report: > [echo] Generating the changelog report > SCM Working Directory: C:\Java\Maven\plugins > SCM Command Line[0]: cvs > SCM Command Line[1]: -d > SCM Command Line[2]: :pserver:[EMAIL PROTECTED]:/cvs/cvs_dept > SCM Command Line[3]: log > SCM Command Line[4]: -d 2003-08-27<2003-09-27 > cvs log: authorization failed: server cvs.unx.sas.com rejected > access to /cvs/cvs_dept for user jahorn > cvs log: used empty password; try "cvs login" with a real password > --- (snip) --- > > -- > Jason Horne > Application Architecture Team/MIS/ISD > SAS Institute Inc. > > --------------------------------------------------------------------- > 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]