Oh duh, I can see that easily now.  Thank you Mike.  Looks like it does not
support specifying the user id.  Need to find a way to have the build set
P4USER from a property setting for the run...
Thanks again for your reply.


-----Original Message-----
From: Mike Perham [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 29, 2006 3:33 PM
To: Maven Users List
Subject: RE: Perforce SCM fails when using URL with user id

Jeff, your changelog plugin is not using Maven SCM.  It's using its own
Perforce code.  You might dig into the changelog plugin code to see if there
is a solution to your problem - I'm not familiar with that codebase.

-----Original Message-----
From: Jeff Jensen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 28, 2006 10:03 PM
To: 'Maven Users List'
Subject: Perforce SCM fails when using URL with user id

Hello,

I can't use the $P4USER setting for the machines, and need to use a property
for it/specify it to the Perforce SCM plugin.

The format on the docs (http://maven.apache.org/scm/perforce.html) says:
  scm:perforce:[EMAIL PROTECTED]:[port:]path_to_repository

If I use the SCM URL format that includes a username, this is the error I
receive:

    [echo] Generating the Change Log...
maven-changelog-plugin:report:
    [echo] Generating the changelog report
    SCM Working Directory: [snipped the path]
    SCM Command Line[0]: p4
    SCM Command Line[1]: -p
    SCM Command Line[2]: [the user [EMAIL PROTECTED] ip]:[the port]
    SCM Command Line[3]: filelog
    SCM Command Line[4]: -tl
    SCM Command Line[5]: //[depot name]/[path]/...
    Perforce client error:
        Connect to server failed; check $P4PORT.
        TCP connect to [user [EMAIL PROTECTED] address] failed.
        [user [EMAIL PROTECTED] address]: host unknown.
    ChangeSet between 2006-02-26 and 2006-03-29: 0 entries

Is this working correctly?  What do I not understand about the SCM URL?


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to