[ http://jira.codehaus.org/browse/MDEPLOY-18?page=all ] Morten Kristiansen reopened MDEPLOY-18: ---------------------------------------
Again I refer to the question, WHY is it trying to create a folder at /...?? I havn't told Maven anywhere that I want something created there. I have added "scp://marple.pd.tracetracker.com/repository/maven2" as repo info. If I perform an ssh to scp://marple.pd.tracetracker.com/ the folder "repository/maven2" exists, and I would expect Maven to start creating project folders below that path. It's Maven that builds up and executes the command "mkdir" somewhere and for some strange reason tries to create it in root of server. I perform this with a user called "maven". My repository on the remote server is "/home/maven/repository/maven2". And that's where I want to deploy the files. Is the scp URL incorrect? > 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 > Attachments: pom.xml, settings.xml > > > 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]
