|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.mrm.api.maven.BaseArtifactStore
org.codehaus.mojo.mrm.maven.ProxyArtifactStore
public class ProxyArtifactStore
An ArtifactStore that serves content from a running Maven instance.
| Constructor Summary | |
|---|---|
ProxyArtifactStore(org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager repositoryMetadataManager,
List remoteArtifactRepositories,
List remotePluginRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.plugin.logging.Log log)
Creates a new instance. |
|
| Method Summary | |
|---|---|
InputStream |
get(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
Set |
getArtifactIds(String groupId)
|
Set |
getArtifacts(String groupId,
String artifactId,
String version)
|
Set |
getGroupIds(String parentGroupId)
|
long |
getLastModified(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
org.apache.maven.artifact.repository.metadata.Metadata |
getMetadata(String path)
|
long |
getMetadataLastModified(String path)
|
long |
getSize(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
|
Set |
getVersions(String groupId,
String artifactId)
|
void |
set(org.codehaus.mojo.mrm.api.maven.Artifact artifact,
InputStream content)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProxyArtifactStore(org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager repositoryMetadataManager,
List remoteArtifactRepositories,
List remotePluginRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.plugin.logging.Log log)
repositoryMetadataManager - the RepositoryMetadataManager to use.remoteArtifactRepositories - the repsoitories to use.remotePluginRepositories - the plugin repositories to use.localRepository - the local repository to use.artifactFactory - the ArtifactFactory to use.artifactResolver - the ArtifactResolver to use.log - the Log to log to.| Method Detail |
|---|
public Set getGroupIds(String parentGroupId)
public Set getArtifactIds(String groupId)
public Set getVersions(String groupId,
String artifactId)
public Set getArtifacts(String groupId,
String artifactId,
String version)
public long getLastModified(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
IOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public long getSize(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
IOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public InputStream get(org.codehaus.mojo.mrm.api.maven.Artifact artifact)
throws IOException,
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
IOException
org.codehaus.mojo.mrm.api.maven.ArtifactNotFoundException
public void set(org.codehaus.mojo.mrm.api.maven.Artifact artifact,
InputStream content)
throws IOException
set in interface org.codehaus.mojo.mrm.api.maven.ArtifactStoreset in class org.codehaus.mojo.mrm.api.maven.BaseArtifactStoreIOException
public org.apache.maven.artifact.repository.metadata.Metadata getMetadata(String path)
throws IOException,
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
IOException
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
public long getMetadataLastModified(String path)
throws IOException,
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
IOException
org.codehaus.mojo.mrm.api.maven.MetadataNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||