org.apache.maven.project.artifact
Class DefaultMetadataSource

java.lang.Object
  extended by org.apache.maven.project.artifact.MavenMetadataSource
      extended by org.apache.maven.project.artifact.DefaultMetadataSource
All Implemented Interfaces:
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
DefaultMetadataSource()
           
 
Method Summary
 
Methods inherited from class org.apache.maven.project.artifact.MavenMetadataSource
createArtifacts, retrieve, retrieve, retrieve, retrieveAvailableVersions, retrieveAvailableVersions, retrieveAvailableVersionsFromDeploymentRepository
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMetadataSource

public DefaultMetadataSource()


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.