[ http://jira.codehaus.org/browse/MDEPLOY-9?page=all ]
Jason van Zyl moved MNG-1764 to MDEPLOY-9:
------------------------------------------
Version: (was: 2.0)
Component: (was: maven-deploy-plugin)
Workflow: jira (was: Maven)
Key: MDEPLOY-9 (was: MNG-1764)
Project: Maven 2.x Deploy Plugin (was: Maven 2)
> Failed to deploy to a remote repository
> ---------------------------------------
>
> Key: MDEPLOY-9
> URL: http://jira.codehaus.org/browse/MDEPLOY-9
> Project: Maven 2.x Deploy Plugin
> Type: Bug
> Environment: Linux Fedora, 32bit, Maven2
> Reporter: Nic
>
>
> It seems that 'mvn deploy' doesn't work when deploying to a remoty repository
> using scp/scpexe protocol
> pom.xml:
> ...
> <distributionManagement>
> <repository>
> <id>corp-repository</id>
> <url>scpexe://[EMAIL PROTECTED]/var/maven2/repos</url>
> </repository>
> <site>
> <id>website</id>
> <url>scpexe://[EMAIL
> PROTECTED]/usr/local/apache2/htdocs/projects/proj1/</url>
> </site>
> </distributionManagement>
> ...
> settings.xml:
> <servers>
> <server>
> <id>webserver</id>
> <username>user</username>
> <privateKey>~/.ssh/id_rsa</privateKey>
> </server>
> <server>
> <id>corp-repository</id>
> <username>user</username>
> <privateKey>~/.ssh/id_rsa</privateKey>
> </server>
> </servers>
> When I issue the command 'mvn site:deploy' - it works
> When I issue the command 'mvn deploy' - it doesn't work. The reason is: Exit
> code 255 - Permission denied (publickey,password).
> When I issue the command 'scp a.file [EMAIL PROTECTED]:/var/maven2/repos' -
> it works
> I have no idea how to make 'mvn deploy' work.
--
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]