[
https://issues.apache.org/jira/browse/SCM-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17961434#comment-17961434
]
ASF GitHub Bot commented on SCM-423:
------------------------------------
jira-importer opened a new issue, #641:
URL: https://github.com/apache/maven-scm/issues/641
**[alex
zh](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=alex_2007)**
opened
**[SCM-423](https://issues.apache.org/jira/browse/SCM-423?redirect=false)** and
commented
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] -------------------------------------------------------------------
```
---
**Affects:** 1.1
> 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://issues.apache.org/jira/browse/SCM-423
> Project: Maven SCM (Moved to GitHub Issues)
> Issue Type: Bug
> Components: maven-scm-provider-perforce
> Affects Versions: 1.1
> Environment: windowsxp,
> Reporter: alex zh
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)