Are you sure your url is correct ? I work on a project on sourceforge,
and the url is :
scp://shell.sourceforge.net/home/groups/j/jw/jwebunit/htdocs
++
Sebastien Arbogast a écrit :
I'm trying to deploy my site to sourceforge using either SCP or SFTP
and I
keep getting an error because it tries to create a root directory,
which it
shouldn't do because of sourceforge security policy. Here is my
distributionManagement section:
<distributionManagement>
<site>
<id>sourceforge</id>
<name>SourceForge server</name>
<url>scp://shell.sourceforge.net/tagspot/htdocs/dev</url>
</site>
<downloadUrl>
http://sourceforge.net/project/showfiles.php?group_id=${maven.sourceforge.project.groupId}
</downloadUrl>
</distributionManagement>
And here is the error message I get:
W:\data\dev\tagspot-project\trunk>mvn site:deploy
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'site'.
[INFO]
-------------------------------------------------------------------------
---
[INFO] Building TagSpot
[INFO] task-segment: [site:deploy]
[INFO]
-------------------------------------------------------------------------
---
[INFO] [site:deploy]
The authenticity of host 'shell.sourceforge.net' can't be established.
DSA key fingerprint is 4c:68:03:d4:5c:58:a6:1d:9d:17:13:24:14:48:ba:99.
Are you sure you want to continue connecting? (yes/no): yes
Password for [EMAIL PROTECTED]: b8m6ckz7
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Opened
Executing command: mkdir -p /tagspot/htdocs/dev/.
scp://shell.sourceforge.net/tagspot/htdocs/dev - Session: Disconnecting
scp://shell.sourceforge.net/tagspot/htdocs/dev - 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 `/tagspot': Permission
denied
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 seconds
[INFO] Finished at: Thu May 04 12:47:49 CEST 2006
[INFO] Final Memory: 3M/6M
[INFO]
------------------------------------------------------------------------
I've created the tagspot/htdocs/dev directory myself so I'm sure it
exists.
Is there a way to tell site plugin to to try to create parent directory ?
--
Sébastien Arbogast
The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org
--
_________________________________________________________________________
Julien HENRY | **Capgemini Sud **| Nice
www.fr.capgemini.com <http://www.capgemini.com/>
Porte de l’Arénas – Entrée B | 455 Promenade des Anglais | 06200 Nice
**Join the Collaborative Business Experience**** **
_________________________________________________________________________
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the person to whom
it is addressed. If you are not the intended recipient, you are not authorized
to read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message in error, please notify the
sender immediately and delete all copies of this message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]