public class MavenIdentityRepository extends AbstractRepository implements XRepository
XRepository
that delegates to a maven repositories.Modifier and Type | Class and Description |
---|---|
static interface |
MavenIdentityRepository.Configuration
The configuration for the
MavenIdentityRepository |
static interface |
MavenIdentityRepository.ConfigurationPropertyProvider
A configuration property provider
|
OSGI_METADATA, PROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILE, SOURCE_REQUIREMENT, TARGET_TYPE
URL
Constructor and Description |
---|
MavenIdentityRepository() |
MavenIdentityRepository(MavenIdentityRepository.Configuration configuration) |
MavenIdentityRepository(MavenIdentityRepository.ConfigurationPropertyProvider provider) |
Modifier and Type | Method and Description |
---|---|
Collection<org.osgi.resource.Capability> |
findProviders(org.osgi.resource.Requirement req)
Find the capabilities that match the specified requirement.
|
static MavenIdentityRepository.Configuration |
getDefaultConfiguration(MavenIdentityRepository.ConfigurationPropertyProvider provider)
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
|
findProviders, getName, getOSGiMetaData, getResourceManifest, getTargetResource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
findProviders
public MavenIdentityRepository()
public MavenIdentityRepository(MavenIdentityRepository.ConfigurationPropertyProvider provider)
public MavenIdentityRepository(MavenIdentityRepository.Configuration configuration)
public static MavenIdentityRepository.Configuration getDefaultConfiguration(MavenIdentityRepository.ConfigurationPropertyProvider provider)
public Collection<org.osgi.resource.Capability> findProviders(org.osgi.resource.Requirement req)
XRepository
findProviders
in interface XRepository
findProviders
in class AbstractRepository
req
- The requirements for which matching capabilities
should be returned. Must not be null
.Copyright © 2013 JBoss by Red Hat. All rights reserved.