public class RepositoryUtils extends Object
Constructor and Description |
---|
RepositoryUtils() |
public static void toArtifacts(Collection<Artifact> artifacts, Collection<? extends DependencyNode> nodes, List<String> trail, DependencyFilter filter)
public static Dependency toDependency(Artifact artifact, Collection<Exclusion> exclusions)
public static List<RemoteRepository> toRepos(List<ArtifactRepository> repos)
public static RemoteRepository toRepo(ArtifactRepository repo)
public static String getLayout(ArtifactRepository repo)
public static ArtifactHandler newHandler(Artifact artifact)
public static ArtifactType newArtifactType(String id, ArtifactHandler handler)
public static Dependency toDependency(Dependency dependency, ArtifactTypeRegistry stereotypes)
public static ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
public static Collection<Artifact> toArtifacts(Collection<Artifact> artifactsToConvert)
public static WorkspaceRepository getWorkspace(RepositorySystemSession session)
public static boolean repositoriesEquals(List<RemoteRepository> r1, List<RemoteRepository> r2)
public static int repositoriesHashCode(List<RemoteRepository> repositories)
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.