[ http://jira.codehaus.org/browse/MDEPLOY-18?page=comments#action_54983 ] 

Morten Kristiansen commented on MDEPLOY-18:
-------------------------------------------

Attached both POM and settings.xml. The output I pasted above isn't correct, 
because I tried several scp paths. This is the output using the attached 
pom.xml and settings.xml:

[EMAIL PROTECTED]:~/workspace/HEAD/arch-common-security-java$ mvn deploy
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building arch-common-security-java
[INFO]    task-segment: [deploy]
[INFO] 
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: 
/home/morten/workspace/HEAD/arch-common-security-java/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Morten: Removed output


[INFO] [jar:jar]
[INFO] Building jar: 
/home/morten/workspace/HEAD/arch-common-security-java/target/arch-common-security-java-1.2.0.jar
[INFO] [install:install]
[INFO] Installing 
/home/morten/workspace/HEAD/arch-common-security-java/target/arch-common-security-java-1.2.0.jar
 to 
/home/morten/.m2/repository/tracetracker/arch-common-security-java/1.2.0/arch-common-security-java-1.2.0.jar
[INFO] [deploy:deploy]
Uploading: 
scp://marple.pd.tracetracker.com/repository/maven2/tracetracker/arch-common-security-java/1.2.0/arch-common-security-java-1.2.0.jar
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Error deploying artifact: Error performing commands for file transfer

mkdir: cannot create directory `/repository': Permission denied
[INFO] 
----------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 7 seconds
[INFO] Finished at: Thu Jan 05 10:10:24 CET 2006
[INFO] Final Memory: 5M/10M
[INFO] 
----------------------------------------------------------------------------
[EMAIL PROTECTED]:~/workspace/HEAD/arch-common-security-java$

> 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]

Reply via email to