You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jason Horne <Ja...@sas.com> on 2003/09/26 21:11:11 UTC

Specifying a CVS password (.cvspass?)

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:jahorn@cvs.unx.sas.com:/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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Specifying a CVS password (.cvspass?)

Posted by di...@multitask.com.au.
Use cvs login to login before running Maven's reports.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


"Jason Horne" <Ja...@sas.com> 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:jahorn@cvs.unx.sas.com:/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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org