public abstract class MavenRepository extends Object
| Constructor and Description |
|---|
MavenRepository() |
| Modifier and Type | Method and Description |
|---|---|
HPI |
findPlugin(String groupId,
String artifactId,
String version)
find the HPI for the specified plugin
|
abstract TreeMap<hudson.util.VersionNumber,HudsonWar> |
getHudsonWar()
Discover all hudson.war versions.
|
abstract Collection<PluginHistory> |
listHudsonPlugins()
Discover all plugins from this Maven repository.
|
Map<Date,Map<String,HPI>> |
listHudsonPluginsByReleaseDate()
Discover all plugins from this Maven repository in order released, not using PluginHistory.
|
protected File |
resolve(org.sonatype.nexus.index.ArtifactInfo a) |
protected abstract File |
resolve(org.sonatype.nexus.index.ArtifactInfo a,
String type,
String classifier) |
public abstract Collection<PluginHistory> listHudsonPlugins() throws org.codehaus.plexus.PlexusContainerException, org.codehaus.plexus.component.repository.exception.ComponentLookupException, IOException, org.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexException, org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.codehaus.plexus.PlexusContainerExceptionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionIOExceptionorg.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexExceptionorg.apache.maven.artifact.resolver.AbstractArtifactResolutionExceptionpublic Map<Date,Map<String,HPI>> listHudsonPluginsByReleaseDate() throws org.codehaus.plexus.PlexusContainerException, org.codehaus.plexus.component.repository.exception.ComponentLookupException, IOException, org.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexException, org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.codehaus.plexus.PlexusContainerExceptionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionIOExceptionorg.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexExceptionorg.apache.maven.artifact.resolver.AbstractArtifactResolutionExceptionpublic HPI findPlugin(String groupId, String artifactId, String version) throws org.codehaus.plexus.PlexusContainerException, org.codehaus.plexus.component.repository.exception.ComponentLookupException, IOException, org.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexException, org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.codehaus.plexus.PlexusContainerExceptionorg.codehaus.plexus.component.repository.exception.ComponentLookupExceptionIOExceptionorg.sonatype.nexus.index.context.UnsupportedExistingLuceneIndexExceptionorg.apache.maven.artifact.resolver.AbstractArtifactResolutionExceptionpublic abstract TreeMap<hudson.util.VersionNumber,HudsonWar> getHudsonWar() throws IOException, org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
IOExceptionorg.apache.maven.artifact.resolver.AbstractArtifactResolutionExceptionprotected File resolve(org.sonatype.nexus.index.ArtifactInfo a) throws org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
org.apache.maven.artifact.resolver.AbstractArtifactResolutionExceptionCopyright © 2004-2012. All Rights Reserved.