org.sonatype.tycho.p2.facade.internal
Class MavenRepositoryReader
java.lang.Object
org.sonatype.tycho.p2.facade.internal.MavenRepositoryReader
- All Implemented Interfaces:
- RepositoryReader
@Component(role=MavenRepositoryReader.class,
instantiationStrategy="per-lookup")
public class MavenRepositoryReader
- extends Object
- implements RepositoryReader
Implementation of RepositoryReader interface that delegates to Maven repository subsystem to retrieve artifacts from
remote repository.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MavenRepositoryReader
public MavenRepositoryReader()
getContents
public InputStream getContents(GAV gav,
String classifier,
String extension)
throws IOException
- Specified by:
getContents
in interface RepositoryReader
- Throws:
IOException
getContents
public InputStream getContents(String remoteRelpath)
throws IOException
- Specified by:
getContents
in interface RepositoryReader
- Throws:
IOException
setArtifactRepository
public void setArtifactRepository(org.apache.maven.artifact.repository.ArtifactRepository repository)
setLocalRepository
public void setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Copyright © 2008-2011. All Rights Reserved.