when I try to checkout file from perforce with maven, I get an exception "Perforce password (P4PASSWD) invalid or unset." -------------------------------------------------------------------------------------------------------------------------
Key: SCM-423 URL: http://jira.codehaus.org/browse/SCM-423 Project: Maven SCM Issue Type: Bug Affects Versions: 1.1 Environment: windowsxp, Reporter: alex zh Hi all, I'm using maven scm plugin 1.1 and Perforce for building, when I try to checkout code from Perforce it get the following exception: can anyone help ? I've logged in before I run mvn scm:checkout command. D:\>mvn scm:checkout [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] ------------------------------------------------------------------- [INFO] Building BSGCommon [INFO] task-segment: [scm:checkout] (aggregator-style) [INFO] ------------------------------------------------------------------- [INFO] [scm:checkout] [INFO] Removing D:\target\checkout [INFO] ------------------------------------------------------------------- [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------- [INFO] Cannot run checkout command : Embedded error: Can't login. Perforce password (P4PASSWD) invalid or unset. [INFO] ------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------- [INFO] Total time: 7 seconds [INFO] Finished at: Wed Oct 22 15:53:25 IST 2008 [INFO] Final Memory: 6M/13M [INFO] ------------------------------------------------------------------- -- 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