Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-423

when I try to checkout file from perforce with maven, I get an exception "Perforce password (P4PASSWD) invalid or unset."

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.1
    • None
    • None
    • windowsxp,

    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.

      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] -------------------------------------------------------------------
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            alex_2007 alex zh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: