[ http://jira.codehaus.org/browse/MDEPLOY-18?page=all ]
Morten Kristiansen reopened MDEPLOY-18:
---------------------------------------
But why is it trying to create tracetracker at /? And it's not using morten as
user, but maven:
>From pom.xml:
<distributionManagement>
<repository>
<id>marplerepo</id>
<url>scp://marple.pd.tracetracker.com/repository/maven2</url>
</repository>
</distributionManagement>
>From ~/.m2/settings.xml
<servers>
<server>
<id>marplerepo</id>
<username>maven</username>
<privateKey>/home/morten/.ssh/id_rsa</privateKey>
</server>
</servers>
I have also tried setting:
<filePermissions>664</filePermissions>
<directoryPermissions>777</directoryPermissions>
but that doesn't work etiher.
> Problem with SCP deploy
> -----------------------
>
> Key: MDEPLOY-18
> URL: http://jira.codehaus.org/browse/MDEPLOY-18
> Project: Maven 2.x Deploy Plugin
> Type: Bug
> Reporter: Morten Kristiansen
> Assignee: Brett Porter
>
>
> I'm currently using scp to deploy a artifact to a remote repository:
> [EMAIL PROTECTED]:~/workspace/HEAD/tt-main$ mvn deploy
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Building tt-main
> [INFO] task-segment: [deploy]
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] [install:install]
> [INFO] Installing /home/morten/workspace/HEAD/tt-main/pom.xml to
> /home/morten/.m2/repository/tracetracker/tt-main/1.0.0/tt-main-1.0.0.pom
> [INFO] [deploy:deploy]
> Uploading:
> scp://marple.pd.tracetracker.com/tracetracker/tt-main/1.0.0/tt-main-1.0.0.pom
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Error deploying artifact: Error performing commands for file transfer
> mkdir: cannot create directory `/tracetracker': Permission denied
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Tue Jan 03 19:56:27 CET 2006
> [INFO] Final Memory: 2M/5M
> [INFO]
> ----------------------------------------------------------------------------
> [EMAIL PROTECTED]:~/workspace/HEAD/tt-main$
> I have no problems executing a scp from a shell. No problems creating folders
> on the server.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]