moving repository permissions settings to a separate class - they don't belong in authentication info

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-02-09 06:17:38 +00:00
parent f191abe11c
commit 1fb63ba3c0
1 changed files with 6 additions and 2 deletions

View File

@ -43,8 +43,12 @@ public class RepositoryUtils
return repos;
}
public static ArtifactRepository
mavenRepositoryToWagonRepository( Repository mavenRepository )
/**
* @todo [BP]: when deploying to remote, we want to default the username, etc {@link org.apache.maven.wagon.WagonUtils#getAuthInfo()}, and also setup permissions
* @param mavenRepository
* @return
*/
public static ArtifactRepository mavenRepositoryToWagonRepository( Repository mavenRepository )
{
ArtifactRepository retValue = new ArtifactRepository();
if ( mavenRepository.getUsername() != null )