I don't think it can be done (at least I could not find out how).  What I did was to 
set up a public/private key between my machine and the deployment box (using puttygen) 
and then using pageant (another putty tool).

Works like a champ...


-----Original Message-----
From: Nathan Coast [mailto:[EMAIL PROTECTED]
Sent: Friday, January 23, 2004 9:05 AM
To: Maven Users
Subject: artifact deployment / ssh / plink


Hi,

I'm trying to use the artifact plugin to deploy to my repo.  from the 
artifact plugin.....

<ant:exec dir="." executable="${commander}">
    <ant:arg line="-l ${username} ${siteAddress} 
'${assureDirectoryCommand} ${resolvedDirectory}'"/>
</ant:exec>

When I run the deploy:artifact tag from maven it hangs.  I grabbed the 
command line by using maven -X.  When I executed the command line by 
hand it prompted for a password after which it then continued and 
completed the mkdir task.  I'm using plink (putty command line) anyone 
know how I input the password when executing the artifcat tag from 
within maven?

cheers
Nathan





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