Class DefaultMetadataSource
java.lang.Object
org.apache.maven.project.artifact.MavenMetadataSource
org.apache.maven.project.artifact.DefaultMetadataSource
- All Implemented Interfaces:
ArtifactMetadataSource
,ArtifactMetadataSource
This realizes the metadata source via the default hint to provide backward-compat with Maven 2.x whose Plexus version
registered component descriptors twice: once keyed by role+roleHint and once keyed by role only. This effectively
made the metadata source available with its original role hint ("maven") as well as the default hint.
- Author:
- Benjamin Bentmann
-
Constructor Summary
ConstructorDescriptionDefaultMetadataSource
(RepositoryMetadataManager repositoryMetadataManager, ArtifactFactory artifactFactory, ProjectBuilder projectBuilder, MavenMetadataCache cache, LegacySupport legacySupport, MavenRepositorySystem mavenRepositorySystem) -
Method Summary
Methods inherited from class org.apache.maven.project.artifact.MavenMetadataSource
createArtifacts, retrieve, retrieve, retrieve, retrieveAvailableVersions, retrieveAvailableVersions, retrieveAvailableVersionsFromDeploymentRepository
-
Constructor Details
-
DefaultMetadataSource
@Inject public DefaultMetadataSource(RepositoryMetadataManager repositoryMetadataManager, ArtifactFactory artifactFactory, ProjectBuilder projectBuilder, MavenMetadataCache cache, LegacySupport legacySupport, MavenRepositorySystem mavenRepositorySystem)
-