public abstract class AbstractMavenDelegateRepository extends AbstractRepository implements MavenDelegateRepository
Repository that delegates to a maven repositories.| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractMavenDelegateRepository.Configuration
The configuration for the
AbstractMavenDelegateRepository |
| Constructor and Description |
|---|
AbstractMavenDelegateRepository() |
AbstractMavenDelegateRepository(org.jboss.gravia.runtime.spi.PropertiesProvider propertyProvider) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.gravia.resource.Resource |
findMavenResource(org.jboss.gravia.resource.MavenCoordinates mavenid) |
Collection<org.jboss.gravia.resource.Capability> |
findProviders(org.jboss.gravia.resource.Requirement req)
Find the capabilities that match the specified requirement.
|
protected AbstractMavenDelegateRepository.Configuration |
getConfiguration(org.jboss.gravia.runtime.spi.PropertiesProvider propertyProvider)
Get the default configuration which delegates to
#1 The local maven repository at ~/.m2/repository
#2 The default JBoss Nexus repository
#3 The default Maven Central repository
|
adapt, addResource, addResource, findProviders, getFallbackRepository, getName, getPropertiesProvider, getRepositoryReader, getRepositoryStorage, getResource, removeResource, setFallbackRepository, setRepositoryStorageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddResource, addResource, findProviders, getFallbackRepository, getName, getResource, removeResourcepublic AbstractMavenDelegateRepository()
public AbstractMavenDelegateRepository(org.jboss.gravia.runtime.spi.PropertiesProvider propertyProvider)
protected AbstractMavenDelegateRepository.Configuration getConfiguration(org.jboss.gravia.runtime.spi.PropertiesProvider propertyProvider)
public Collection<org.jboss.gravia.resource.Capability> findProviders(org.jboss.gravia.resource.Requirement req)
RepositoryfindProviders in interface RepositoryfindProviders in class AbstractRepositoryreq - The requirements for which matching capabilities
should be returned. Must not be null.public org.jboss.gravia.resource.Resource findMavenResource(org.jboss.gravia.resource.MavenCoordinates mavenid)
findMavenResource in interface MavenDelegateRepositoryCopyright © 2014 JBoss by Red Hat. All rights reserved.