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
|
PROPERTY_MAVEN_REPOSITORY_BASE_URLS, PROPERTY_REPOSITORY_STORAGE_DIR, PROPERTY_REPOSITORY_STORAGE_FILEURL| 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
|
adapt, findProviders, findProviders, getExpressionCombiner, getName, getOSGiMetaData, getOSGiMetaDataFromManifest, getResourceBuilder, getResourceManifest, getTargetResource, newRequirementBuilderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapt, getNamefindProviders, findProviders, getExpressionCombiner, newRequirementBuilderpublic 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)
XRepositoryfindProviders in interface XRepositoryfindProviders in class AbstractRepositoryreq - The requirements for which matching capabilities
should be returned. Must not be null.Copyright © 2016 JBoss by Red Hat. All rights reserved.