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

Reply via email to