I am seeking help/direction in figuring out a maven 'site:deploy' issue
relating to the scp (secure copy). I am doing a 'site:deploy' on one
WinXP PC that is trying to deploy using scp to a Windows 2003 server
box. I have installed the OpenSSH for Windows, v4.2p1-1 (1/25/2006) by
WebHeat on both boxes. If I edit my pom to provide the
<distributionManagement><site><url> to my winxp pc, the deploy is
successful to my winxp pc - the scp does a mkdir to create dirs,
creates and transports the wagon.zip, and unzips the zip - all is ok.
However, when I set the url to the server box, the mkdir succeeds (and
creates the dir), but the subsequent scp fails with the console error
"Error uploading site" (as shown below).
I have tried using WinSCP on my winxp pc using the SCP protocol for
debugging purposes - I can issue a command line 'mkdir' that is
successful. However, a command line 'scp ' flashes a window and
disappears with no log entry in the WinSCP log. The log files does
record my other command line commands (ls, mkdir, cd, ...), but nothing
for the scp command.
I have also loaded the OpenSSHd service on the windows server using the
following command to turn on its level-3 debugging. This still doesn't
give me enough info to see where the scp problem lies - I see no entry
for the scp command (or other command line commands) in the OpenSSHd.log
file.
>>>cygrunsrv --install OpenSSH -a "-Dddd" -p /usr/sbin/sshd.exe
>>>cygrunsrv --start OpenSSH
I have also temporarily placed the logon user into the Administrator's
group of the Windows Server box to see if the user permissions might be
the issue. This did not help anything.
Any ideas for debugging and fixing my problem would be greatly
appreciated. Thanks...
-- Chuck Kluga --
*******************************
*** console snippit from site:deploy ***
*******************************
:
scp://xx.xxx.xxx.xxx/export/home/qa1/www/davinci/1.0-SNAPSHOT/build-tools
- Session: Opened
Executing command: mkdir -p
/export/home/qa1/www/davinci/1.0-SNAPSHOT/build-tools/.
scp://xx.xxx.xxx.xxx/export/home/qa1/www/davinci/1.0-SNAPSHOT/build-tools
- Session: Disconnecting
scp://xx.xxx.xxx.xxx/export/home/qa1/www/davinci/1.0-SNAPSHOT/build-tools
- Session: Disconnected
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error uploading site
*********************************
*** maven information for WinXP PC ***
*********************************
>>>mvn -version
Maven version: 2.0.8
Java version: 1.5.0_14
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]