mirror of https://github.com/apache/maven.git
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:
parent
f191abe11c
commit
1fb63ba3c0
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue