[ https://jira.codehaus.org/browse/SCM-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Scholte updated SCM-423: ------------------------------- Description: 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. {noformat} 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] ------------------------------------------------------------------- {noformat} was: 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] ------------------------------------------------------------------- > when I try to checkout file from perforce with maven, I get an exception > "Perforce password (P4PASSWD) invalid or unset." > ------------------------------------------------------------------------------------------------------------------------- > > Key: SCM-423 > URL: https://jira.codehaus.org/browse/SCM-423 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-perforce > 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. > {noformat} > 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] ------------------------------------------------------------------- > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira