Issue Details (XML | Word | Printable)

Key: MSITE-143
Type: Bug Bug
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Dennis Lundberg
Reporter: Jacob Robertson
Votes: 6
Watchers: 9
Operations

If you were logged in you would be able to see more operations.
Maven 2.x Site Plugin

SCP works for deploy goal, but not for site-deploy

Created: 30/May/06 09:42 AM   Updated: 22/Mar/08 01:28 PM   Resolved: 22/Mar/08 01:28 PM
Component/s: site:deploy
Affects Version/s: 2.0-beta-5
Fix Version/s: 2.0-beta-7

Time Tracking:
Not Specified

File Attachments: 1. Text File patch-MSITE-143.txt (2 kB)

Issue Links:
Duplicate
 
Related
 


 Description  « Hide

The linux admins did everything necessary to get the deploy goal to work, and now I have to go back to them and try and figure out why the "site-deploy" goal says "Auth failed". Why does deploy work just fine with scp, but not site-deploy? My environment is such that my deploy repository and my deploy site directories are in the same parent directory, and have the exact same permissions. But one goal fails to upload, and the other doesn't...



Brill Pappin added a comment - 20/Dec/06 08:21 AM

I'm having the same problem.

It seems to be ignoring the information in the server section of the settings.xml file... specifically it's ignoring the sshExecutable and scpExecutable attributes of the server config (notice that the key is found and used however).

In my case I'm deploying with putty on windows. Deploy works but site-deploy does not.

[INFO] [site:deploy]
Using private key: C:\mypath\mykey.ppk
scpexe://myhost/data/maven/site/restart - Session: Opened
Executing command: ssh -i "C:\mypath\mykey.ppk" -o "
BatchMode yes" myuser@myhost/ "mkdir -p /data/maven/site/restart/."

'ssh' is not recognized as an internal or external command,
operable program or batch file.

scpexe://myhost/data/maven/site/restart - Session: Disconnecting
scpexe://myhost/data/maven/site/restart - Session: Disconnected


Brill Pappin added a comment - 20/Dec/06 08:23 AM

FYI - For me, this issue is a blocker.


David W added a comment - 28/Feb/07 09:20 AM

I have same issue, to deploy site reports from windows to linux server.
and it is a blocker for me.


Brill Pappin added a comment - 28/Feb/07 09:47 AM

This still isn't fixed, even though it seems to have been resolved in MSITE-25.


Patric Fornasier added a comment - 06/Mar/07 06:41 PM

Still doesn't work in 2.0.5 version. For me this is a major blocker, because it makes the site-deploy goal completely unusable when on windows box. Maybe somebody should put a note in http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html to stop people from wasting time trying to fix their configuration...


wu yiding added a comment - 13/Apr/07 05:23 AM

the current SNAPSHOT still exist bug, add few lines to fix it .
MNG-2324 will change to Add a getWagon(Repository) method to the WagonManager.
If can use this method in the furture,the current ugly fix can be remove.


Brill Pappin added a comment - 02/Sep/07 02:14 PM

This issue is over a year old. Why is there not even anyone assigned to it?
There seems to be ample descriptions of the problem and even a patch or two.


Dennis Lundberg added a comment - 02/Sep/07 03:25 PM

There are currently 949 open issues for Maven 2 plugins alone. Many of us working on Maven do it in our spare time. Unfortunately there never seems to be enough spare time.