Details
-
Type:
Wish
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta-3
-
Component/s: core
-
Labels:None
-
Number of attachments :
Description
It would be nice to be able to use sftp remote private repositories, as they are easier to admin than https, with custom CA.
Attachments
Issue Links
| This issue relates to: | ||||
| MAVEN-1659 | Dependency jars are not downloading from remote repository placed in Subversion with http access |
|
|
|
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}:${mytest.password}@localhost/tmp/ble
$ cat build.properties
mytest.user=test
mytest.password=test