maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Borut Bolcina (JIRA)" <>
Subject [jira] Created: (MSITE-145) Deploying site with sftp or scp creates directory with name "-p"
Date Thu, 01 Jun 2006 21:29:46 GMT
Deploying site with sftp or scp creates directory with name "-p"

         Key: MSITE-145
     Project: Maven 2.x Site Plugin
        Type: Bug

    Versions: 2.0-beta-5    
 Environment: Windows XP SP2, maven 2.0.4
    Reporter: Borut Bolcina

On Windows XP, with maven 2.0.4 and site plugin 2.0-beta-5 when doing site:deploy with

           <name>my project site</name>

a command mkdir -p /project/ is issued which I think is not correct

When executing from cmd window

   C:\Documents and Settings\Borut\Desktop\Workspace\MyProject>ftp
   Connected to my.server.
   220 (vsFTPd 2.0.3)
   User (my.server:(none)): myusername
   331 Please specify the password.
   230 Login successful.
   ftp> mkdir -p /project/
   257 "/-p" created

Instead of creating /project directory, the ftp client creates a directory with name "-p".
I think that is the reason the site:deploy fails. See bellow.

   C:\Documents and Settings\Borut\Desktop\Workspace\MyProject>mvn
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'site'.
   [INFO] Building MyProject
   [INFO]    task-segment: [site:deploy]
   [INFO] [site:deploy]
   The authenticity of host 'my.server' can't be established.
   RSA key fingerprint is 4a:86:2b:a7:15:29:ee:4b:10:8f:8e:73:53:b0:9e:cd.
   Are you sure you want to continue connecting? (yes/no): yes
   sftp://my.server/project - Session: Opened
   Executing command: mkdir -p /project/.
   sftp://my.server/project - Session: Disconnecting
   sftp://my.server/project - Session: Disconnected
   [INFO] Error uploading site

   Embedded error: Error performing commands for file transfer
   Exit code: 1 - mkdir: cannot create directory `/project': Permission
   [INFO] For more information, run Maven with the -e switch
   [INFO] Total time: 10 seconds
   [INFO] Finished at: Thu Jun 01 23:06:05 CEST 2006
   [INFO] Final Memory: 7M/13M

The same happens when trying to deploy with scp. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message