Class DefaultMetadataSource
- java.lang.Object
-
- org.apache.maven.project.artifact.MavenMetadataSource
-
- org.apache.maven.project.artifact.DefaultMetadataSource
-
- All Implemented Interfaces:
ArtifactMetadataSource
,ArtifactMetadataSource
@Component(role=ArtifactMetadataSource.class) public class DefaultMetadataSource extends MavenMetadataSource
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
Constructors Constructor Description DefaultMetadataSource()
-
Method Summary
-
Methods inherited from class org.apache.maven.project.artifact.MavenMetadataSource
createArtifacts, retrieve, retrieve, retrieve, retrieveAvailableVersions, retrieveAvailableVersions, retrieveAvailableVersionsFromDeploymentRepository
-
-