public abstract class AbstractMavenIdentityRepository extends AbstractRepository implements MavenIdentityRepository
Repository that delegates to a maven repositories.| Modifier and Type | Class and Description |
|---|---|
static interface |
AbstractMavenIdentityRepository.Configuration
The configuration for the
AbstractMavenIdentityRepository |
Repository.ConfigurationPropertyProviderPROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILE| Constructor and Description |
|---|
AbstractMavenIdentityRepository() |
AbstractMavenIdentityRepository(Repository.ConfigurationPropertyProvider propertyProvider) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.gravia.resource.Resource |
findMavenResource(MavenCoordinates mavenid) |
Collection<org.jboss.gravia.resource.Capability> |
findProviders(org.jboss.gravia.resource.Requirement req)
Find the capabilities that match the specified requirement.
|
protected AbstractMavenIdentityRepository.Configuration |
getConfiguration(Repository.ConfigurationPropertyProvider 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, findProviders, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindProviders, getNamepublic AbstractMavenIdentityRepository()
public AbstractMavenIdentityRepository(Repository.ConfigurationPropertyProvider propertyProvider)
protected AbstractMavenIdentityRepository.Configuration getConfiguration(Repository.ConfigurationPropertyProvider propertyProvider)
public Collection<org.jboss.gravia.resource.Capability> findProviders(org.jboss.gravia.resource.Requirement req)
RepositoryfindProviders in interface Repositoryreq - The requirements for which matching capabilities
should be returned. Must not be null.public org.jboss.gravia.resource.Resource findMavenResource(MavenCoordinates mavenid)
findMavenResource in interface MavenIdentityRepositoryCopyright © 2013 JBoss by Red Hat. All Rights Reserved.