org.apache.maven
Class RepositoryUtils

java.lang.Object
  extended by org.apache.maven.RepositoryUtils

public class RepositoryUtils
extends Object

Warning: This is an internal utility class that is only public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted without prior notice.

Author:
Benjamin Bentmann

Constructor Summary
RepositoryUtils()
           
 
Method Summary
static org.sonatype.aether.artifact.ArtifactType newArtifactType(String id, ArtifactHandler handler)
           
static org.sonatype.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
           
static ArtifactHandler newHandler(org.sonatype.aether.artifact.Artifact artifact)
           
static Artifact toArtifact(org.sonatype.aether.artifact.Artifact artifact)
           
static org.sonatype.aether.artifact.Artifact toArtifact(Artifact artifact)
           
static void toArtifacts(Collection<Artifact> artifacts, Collection<? extends org.sonatype.aether.graph.DependencyNode> nodes, List<String> trail, org.sonatype.aether.graph.DependencyFilter filter)
           
static org.sonatype.aether.graph.Dependency toDependency(Artifact artifact, Collection<Exclusion> exclusions)
           
static org.sonatype.aether.graph.Dependency toDependency(Dependency dependency, org.sonatype.aether.artifact.ArtifactTypeRegistry stereotypes)
           
static org.sonatype.aether.repository.RemoteRepository toRepo(ArtifactRepository repo)
           
static List<org.sonatype.aether.repository.RemoteRepository> toRepos(List<ArtifactRepository> repos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryUtils

public RepositoryUtils()
Method Detail

toArtifact

public static Artifact toArtifact(org.sonatype.aether.artifact.Artifact artifact)

toArtifacts

public static void toArtifacts(Collection<Artifact> artifacts,
                               Collection<? extends org.sonatype.aether.graph.DependencyNode> nodes,
                               List<String> trail,
                               org.sonatype.aether.graph.DependencyFilter filter)

toArtifact

public static org.sonatype.aether.artifact.Artifact toArtifact(Artifact artifact)

toDependency

public static org.sonatype.aether.graph.Dependency toDependency(Artifact artifact,
                                                                Collection<Exclusion> exclusions)

toRepos

public static List<org.sonatype.aether.repository.RemoteRepository> toRepos(List<ArtifactRepository> repos)

toRepo

public static org.sonatype.aether.repository.RemoteRepository toRepo(ArtifactRepository repo)

newHandler

public static ArtifactHandler newHandler(org.sonatype.aether.artifact.Artifact artifact)

newArtifactType

public static org.sonatype.aether.artifact.ArtifactType newArtifactType(String id,
                                                                        ArtifactHandler handler)

toDependency

public static org.sonatype.aether.graph.Dependency toDependency(Dependency dependency,
                                                                org.sonatype.aether.artifact.ArtifactTypeRegistry stereotypes)

newArtifactTypeRegistry

public static org.sonatype.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)


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