Changelog Plugin doesn't parse .cvspass properly
------------------------------------------------

         Key: MPCHANGELOG-64
         URL: http://jira.codehaus.org/browse/MPCHANGELOG-64
     Project: maven-changelog-plugin
        Type: Bug
    Versions: 1.7.1    
    Reporter: David Eric Pugh
 Assigned to: David Eric Pugh 


I have been testing Maven on Linux running Java 1.5.0_02-b09, and noticed that 
the Changelog plugin won't run against CVS servers.  Changelog uses a java 
library to provide CVS connectivity instead of running CVS from the command 
line.   

I always get a message:

org.netbeans.lib.cvsclient.connection.AuthencticationException: Wrong Password.

I discovered that the format of the cvs information in the .cvspass file 
differs depending on if cvs inserted it, or the create-cvspass did.   

CVS looks like this:
/1 :pserver:[EMAIL PROTECTED]:2401/cvsroot/maven-plugins A3333 x

changelog:create-cvspass looks like this:
:pserver:[EMAIL PROTECTED]:cvsroot/maven-plugins A3333 x

I think I have a small fix for CvsConnection.java's lookupPassword() method to 
deal with the two types of strings.   It just isn't properly implemented for 
the cvs generated one where your password has a " " (space) in the password 
name.

I wanted to see if anyone else had run across this problem...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to