public class RepositoryUtils
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RepositoryUtils.MavenArtifactTypeRegistry |
Constructor and Description |
---|
RepositoryUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getLayout(ArtifactRepository repo) |
static org.eclipse.aether.artifact.ArtifactType |
newArtifactType(java.lang.String id,
ArtifactHandler handler) |
static org.eclipse.aether.artifact.ArtifactTypeRegistry |
newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) |
static ArtifactHandler |
newHandler(org.eclipse.aether.artifact.Artifact artifact) |
private static java.lang.String |
nullify(java.lang.String string) |
static Artifact |
toArtifact(org.eclipse.aether.artifact.Artifact artifact) |
static org.eclipse.aether.artifact.Artifact |
toArtifact(Artifact artifact) |
private static Artifact |
toArtifact(org.eclipse.aether.graph.Dependency dependency) |
static java.util.Collection<org.eclipse.aether.artifact.Artifact> |
toArtifacts(java.util.Collection<Artifact> artifactsToConvert) |
static void |
toArtifacts(java.util.Collection<Artifact> artifacts,
java.util.Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes,
java.util.List<java.lang.String> trail,
org.eclipse.aether.graph.DependencyFilter filter) |
private static org.eclipse.aether.repository.Authentication |
toAuthentication(Authentication auth) |
static org.eclipse.aether.graph.Dependency |
toDependency(Artifact artifact,
java.util.Collection<Exclusion> exclusions) |
static org.eclipse.aether.graph.Dependency |
toDependency(Dependency dependency,
org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) |
private static org.eclipse.aether.graph.Exclusion |
toExclusion(Exclusion exclusion) |
private static org.eclipse.aether.repository.RepositoryPolicy |
toPolicy(ArtifactRepositoryPolicy policy) |
private static org.eclipse.aether.repository.Proxy |
toProxy(Proxy proxy) |
static org.eclipse.aether.repository.RemoteRepository |
toRepo(ArtifactRepository repo) |
static java.util.List<org.eclipse.aether.repository.RemoteRepository> |
toRepos(java.util.List<ArtifactRepository> repos) |
private static java.lang.String nullify(java.lang.String string)
private static Artifact toArtifact(org.eclipse.aether.graph.Dependency dependency)
public static Artifact toArtifact(org.eclipse.aether.artifact.Artifact artifact)
public static void toArtifacts(java.util.Collection<Artifact> artifacts, java.util.Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, java.util.List<java.lang.String> trail, org.eclipse.aether.graph.DependencyFilter filter)
public static org.eclipse.aether.artifact.Artifact toArtifact(Artifact artifact)
public static org.eclipse.aether.graph.Dependency toDependency(Artifact artifact, java.util.Collection<Exclusion> exclusions)
public static java.util.List<org.eclipse.aether.repository.RemoteRepository> toRepos(java.util.List<ArtifactRepository> repos)
public static org.eclipse.aether.repository.RemoteRepository toRepo(ArtifactRepository repo)
public static java.lang.String getLayout(ArtifactRepository repo)
private static org.eclipse.aether.repository.RepositoryPolicy toPolicy(ArtifactRepositoryPolicy policy)
private static org.eclipse.aether.repository.Authentication toAuthentication(Authentication auth)
private static org.eclipse.aether.repository.Proxy toProxy(Proxy proxy)
public static ArtifactHandler newHandler(org.eclipse.aether.artifact.Artifact artifact)
public static org.eclipse.aether.artifact.ArtifactType newArtifactType(java.lang.String id, ArtifactHandler handler)
public static org.eclipse.aether.graph.Dependency toDependency(Dependency dependency, org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes)
private static org.eclipse.aether.graph.Exclusion toExclusion(Exclusion exclusion)
public static org.eclipse.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
public static java.util.Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(java.util.Collection<Artifact> artifactsToConvert)