mirror of https://github.com/apache/maven.git
o Fix compilation error with mirrors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@749060 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c5571a0c78
commit
3051c4974b
|
@ -90,6 +90,9 @@ public class LegacyMavenRepositorySystem
|
|||
@Requirement
|
||||
private ArtifactMetadataSource artifactMetadataSource;
|
||||
|
||||
@Requirement
|
||||
private MirrorBuilder mirrorBuilder;
|
||||
|
||||
@Requirement
|
||||
private Logger logger;
|
||||
|
||||
|
@ -626,4 +629,11 @@ public class LegacyMavenRepositorySystem
|
|||
{
|
||||
return artifactMetadataSource.retrieveRelocatedArtifact( artifact, localRepository, remoteRepositories );
|
||||
}
|
||||
|
||||
// Mirror
|
||||
|
||||
public void addMirror( String id, String mirrorOf, String url )
|
||||
{
|
||||
mirrorBuilder.addMirror( id, mirrorOf, url );
|
||||
}
|
||||
}
|
||||
|
|
|
@ -127,4 +127,8 @@ public interface MavenRepositorySystem
|
|||
void addAuthenticationInfo( String repositoryId, String username, String password, String privateKey, String passphrase );
|
||||
|
||||
void addPermissionInfo( String repositoryId, String filePermissions, String directoryPermissions );
|
||||
|
||||
// Mirrors
|
||||
|
||||
void addMirror( String id, String mirrorOf, String url );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue