[ http://jira.codehaus.org/browse/MAVEN-1686?page=all ]

Juan F. Codagnone updated MAVEN-1686:
-------------------------------------

    Attachment: MAVEN-1686.diff

As a quick hack, this patch makes sftp work. Its limitation is that the 
username and password must be hardcoded in the url. 
Depends on WAGONSSH-11 . Instead of adding another if, i have created a 
WagonFactory.

Example:

$ cat project.properties
maven.repo.remote=sftp://${mytest.user}:[EMAIL PROTECTED]/tmp/ble

$ cat build.properties
mytest.user=test
mytest.password=test


> be able to use sftp as a maven.repo.remote
> ------------------------------------------
>
>          Key: MAVEN-1686
>          URL: http://jira.codehaus.org/browse/MAVEN-1686
>      Project: Maven
>         Type: Wish
>   Components: core
>     Reporter: Juan F. Codagnone
>  Attachments: MAVEN-1686.diff
>
>
> It would be nice to be able to use sftp remote private repositories, as they 
> are easier to admin than https, with custom CA.

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