Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 76647 invoked from network); 2 Jun 2006 05:55:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Jun 2006 05:55:10 -0000 Received: (qmail 55473 invoked by uid 500); 2 Jun 2006 05:55:08 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 55406 invoked by uid 500); 2 Jun 2006 05:55:07 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 55351 invoked by uid 99); 2 Jun 2006 05:55:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 22:55:07 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2006 22:55:04 -0700 Received: (qmail 8622 invoked by uid 89); 2 Jun 2006 05:54:43 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 2 Jun 2006 05:54:43 -0000 Message-ID: <85815782.1149227683903.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Fri, 2 Jun 2006 00:54:43 -0500 (CDT) From: "Carlos Sanchez (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MSITE-145) Deploying site with sftp or scp creates directory with name "-p" In-Reply-To: <76593490.1149197386099.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.codehaus.org/browse/MSITE-145?page=comments#action_66454 ] Carlos Sanchez commented on MSITE-145: -------------------------------------- I meant ftp is NOT sftp. You may be able to create directories with ftp but not with sftp > Deploying site with sftp or scp creates directory with name "-p" > ---------------------------------------------------------------- > > Key: MSITE-145 > URL: http://jira.codehaus.org/browse/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 > Assignee: Carlos Sanchez > > > On Windows XP, with maven 2.0.4 and site plugin 2.0-beta-5 when doing site:deploy with > > > website > my project site > sftp://my.server/project > > > 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 > my.server > Connected to my.server. > 220 (vsFTPd 2.0.3) > User (my.server:(none)): myusername > 331 Please specify the password. > Password: > 230 Login successful. > ftp> mkdir -p /project/ > 257 "/-p" created > ftp> > 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 > site:deploy > [INFO] Scanning for projects... > [INFO] Searching repository for plugin with prefix: 'site'. > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building MyProject > [INFO] task-segment: [site:deploy] > [INFO] > ---------------------------------------------------------------------------- > [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] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Error uploading site > Embedded error: Error performing commands for file transfer > Exit code: 1 - mkdir: cannot create directory `/project': Permission > denied > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 10 seconds > [INFO] Finished at: Thu Jun 01 23:06:05 CEST 2006 > [INFO] Final Memory: 7M/13M > [INFO] > ------------------------------------------------------------------------ > 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: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira