It looks like use of Perforce requires the p4 client or some p4 config installed on the machine. I have the p4 client installed on my machine. I run scm:bootstrap passing username and password, it works no problem.
Can anyone tell me if this is true? I copy and paste the same line onto another machine without the p4 client and rest is setup the same and it fails with the following: [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Default Project [INFO] task-segment: [scm:bootstrap] (aggregator-style) [INFO] ------------------------------------------------------------------------ [INFO] [scm:bootstrap] [INFO] Removing E:\tools\temp [INFO] Checkout working directory: E:\tools\temp [INFO] Executing: p4 -d E:\tools\temp -p perforce:1555 -u devuser -P ********** client -i [ERROR] Provider message: [ERROR] Unable to sync. Are you logged in? [ERROR] Command output: [ERROR] [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Command failed.Unable to sync. Are you logged in? [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Tue Apr 29 17:48:32 EDT 2008 [INFO] Final Memory: 4M/9M [INFO] ------------------------------------------------------------------------ Thanks, Daniel King Vurv The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify me immediately by replying to the message and deleting it from your computer. Thank you. -----Original Message----- From: Daniel King [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 1:41 PM To: Maven Users List Subject: RE: scm:checkout question The scm:bootstrap seems to be checking everything out twice. Any ideas why? Here are the steps: 1) Removing the checkoutDirectory 2) Creating a temp client spec or workspace 3) Checking out the code 4) Deleting the checkout directory, 5) Rechecking it out the code again 6) Compiling 7) Testing 8) Deleting the client spec See below: [INFO] Removing C:\workspace2\unitedProject\build [INFO] Checkout working directory: C:\workspace2\unitedProject\build [INFO] Executing: p4 -d C:\workspace2\unitedProject\build -p perforce:1555 -u devuser -P ********** client -i [INFO] Executing: p4 -d C:\workspace2\unitedProject\build -p perforce: 1555 -u devuser -P ********** client -d devuser-F6NYG61-D-MavenSCM-C:\workspace2\unitedProject\build [INFO] Removing C:\workspace2\unitedProject\build [INFO] Checkout working directory: C:\workspace2\unitedProject\build [INFO] Executing: p4 -d C:\workspace2\unitedProject\build -p perforce: 1555 -u devuser -P ********** client -i [INFO] Executing: p4 -d C:\workspace2\unitedProject\build -p perforce: 1555 -u devuser -P ********** client -d devuser-F443G61-D-MavenSCM-C:\workspace2\unitedProject\build [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ ---- [INFO] Building Maven Default Project [INFO] task-segment: [deploy] Daniel King Vurv --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
