Hi Brett,

Thanks for your response!

While I struggle here with ssh-agent, could you (or anyone else, of course) point me if this is the most used goal for deploying the project documentation?
Would exist another (simpler) one?


The thing is I am trying to setup an environment with maven to try and sell the idea of standardizing our production area by using maven.

thanks a lot,
Daniel


----- Original Message ----- From: "Brett Porter" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 17, 2004 9:20 AM
Subject: Re: Goal site:deploy



its waiting for you to type your password :)

I don't think input is accepted though, so you need to set up an SSH
agent with identity key (or identity key with no passphrase).

site:deploy, unlike all other deploy goals, still uses the external
SSH command to connect.

- Brett


On Thu, 16 Dec 2004 20:45:53 -0200, Daniel Rodrigues Ambr�sio <[EMAIL PROTECTED]> wrote:
Hello everyone,

I�d like to know if anyone wver experience this problem below, and ask for some help! :)

I am having trouble with the site:deploy (and also site:sshdeploy) goals from maven. When the script will try to create the folder to deploy the contents it hangs.

I executed the following command:

maven -X site:sshdeploy

- This is my config file:

-----------------------------------------------
maven.repo.list= projects

#settings for repository 'projects'
maven.repo.projects=sftp://projects.uol.com.br
maven.repo.projects.username=daniel
maven.repo.projects.password=daniel
maven.repo.projects.directory=/export/htdocs/projects.uol.com.br

maven.xdoc.date=left
maven.repo.remote=http://projects.uol.com.br,http://www.ibiblio.org/maven/
-----------------------------------------------

- This is the output:

------------------------------------------------

site:sshdeploy:
    [echo]
      siteAddress = projects.uol.com.br
      siteDirectory = /export/htdocs/projects.uol.com.br/tarifacao
      siteUser = daniel

    .......

[gzip] Building: D:\projects\desconto-programado\rating-src\target\tarifacao-2.0-site.tar.gz
[delete] Deleting: D:\projects\desconto-programado\rating-src\target\tarifacao-2.0-site.tar
[exec] [VERBOSE] Current OS is Windows XP
[exec] [VERBOSE] Executing 'ssh' with arguments:
'-l'
'daniel'
'projects.uol.com.br'
'mkdir -p /export/htdocs/projects.uol.com.br/tarifacao'


The ' characters around the executable and arguments are
not part of the command.

[exec] [DEBUG] Execute:Java13CommandLauncher: Executing 'ssh' with arguments:
'-l'
'daniel'
'projects.uol.com.br'
'mkdir -p /export/htdocs/projects.uol.com.br/tarifacao'


The ' characters around the executable and arguments are
not part of the command.

------------------------------------------------

The strange thing is that I can successfully use other commands that connect through ssh to the server, and if execute the command "ssh -l daniel projects.uol.com.br mkdir -p /export/htdocs/projects.uol.com.br/tarifacao" it also works (prompts for password).

Any help would be appreciated!

Thanks a lot,
Daniel


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