org.jvnet.hudson.update_center
Class VersionCappedMavenRepository
java.lang.Object
org.jvnet.hudson.update_center.MavenRepository
org.jvnet.hudson.update_center.VersionCappedMavenRepository
public class VersionCappedMavenRepository
- extends MavenRepository
Delegating MavenRepository to limit the data to the subset compatible with the specific version.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionCappedMavenRepository
public VersionCappedMavenRepository(MavenRepository base,
VersionNumber cap)
getHudsonWar
public TreeMap<VersionNumber,HudsonWar> getHudsonWar()
throws IOException,
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
- Description copied from class:
MavenRepository
- Discover all hudson.war versions.
- Specified by:
getHudsonWar in class MavenRepository
- Throws:
IOException
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
listHudsonPlugins
public 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
- Description copied from class:
MavenRepository
- Discover all plugins from this Maven repository.
- Specified by:
listHudsonPlugins in class MavenRepository
- 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
resolve
public File resolve(org.sonatype.nexus.index.ArtifactInfo a,
String type,
String classifier)
throws org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
- Specified by:
resolve in class MavenRepository
- Throws:
org.apache.maven.artifact.resolver.AbstractArtifactResolutionException
Copyright © 2004-2011. All Rights Reserved.