org.apache.maven
Class RepositoryUtils
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryUtils
public RepositoryUtils()
toArtifact
public static Artifact toArtifact(Artifact artifact)
toArtifacts
public static void toArtifacts(Collection<Artifact> artifacts,
Collection<? extends DependencyNode> nodes,
List<String> trail,
DependencyFilter filter)
toArtifact
public static Artifact toArtifact(Artifact artifact)
toDependency
public static Dependency toDependency(Artifact artifact,
Collection<Exclusion> exclusions)
toRepos
public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos)
toRepo
public static RemoteRepository toRepo(ArtifactRepository repo)
getLayout
public static String getLayout(ArtifactRepository repo)
newHandler
public static ArtifactHandler newHandler(Artifact artifact)
newArtifactType
public static ArtifactType newArtifactType(String id,
ArtifactHandler handler)
toDependency
public static Dependency toDependency(Dependency dependency,
ArtifactTypeRegistry stereotypes)
newArtifactTypeRegistry
public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.