public class RepositoryUtils
extends java.lang.Object
| Constructor and Description |
|---|
RepositoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getLayout(org.apache.maven.artifact.repository.ArtifactRepository repo) |
static org.eclipse.aether.repository.WorkspaceRepository |
getWorkspace(org.eclipse.aether.RepositorySystemSession session) |
static org.eclipse.aether.artifact.ArtifactType |
newArtifactType(java.lang.String id,
org.apache.maven.artifact.handler.ArtifactHandler handler) |
static org.eclipse.aether.artifact.ArtifactTypeRegistry |
newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) |
static org.apache.maven.artifact.handler.ArtifactHandler |
newHandler(org.eclipse.aether.artifact.Artifact artifact) |
static boolean |
repositoriesEquals(java.util.List<org.eclipse.aether.repository.RemoteRepository> r1,
java.util.List<org.eclipse.aether.repository.RemoteRepository> r2) |
static int |
repositoriesHashCode(java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories) |
static org.apache.maven.artifact.Artifact |
toArtifact(org.eclipse.aether.artifact.Artifact artifact) |
static org.eclipse.aether.artifact.Artifact |
toArtifact(org.apache.maven.artifact.Artifact artifact) |
static java.util.Collection<org.eclipse.aether.artifact.Artifact> |
toArtifacts(java.util.Collection<org.apache.maven.artifact.Artifact> artifactsToConvert) |
static void |
toArtifacts(java.util.Collection<org.apache.maven.artifact.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) |
static org.eclipse.aether.graph.Dependency |
toDependency(org.apache.maven.artifact.Artifact artifact,
java.util.Collection<org.apache.maven.model.Exclusion> exclusions) |
static org.eclipse.aether.graph.Dependency |
toDependency(org.apache.maven.model.Dependency dependency,
org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) |
static org.eclipse.aether.repository.RemoteRepository |
toRepo(org.apache.maven.artifact.repository.ArtifactRepository repo) |
static java.util.List<org.eclipse.aether.repository.RemoteRepository> |
toRepos(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> repos) |
public static org.apache.maven.artifact.Artifact toArtifact(org.eclipse.aether.artifact.Artifact artifact)
public static void toArtifacts(java.util.Collection<org.apache.maven.artifact.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(org.apache.maven.artifact.Artifact artifact)
public static org.eclipse.aether.graph.Dependency toDependency(org.apache.maven.artifact.Artifact artifact,
java.util.Collection<org.apache.maven.model.Exclusion> exclusions)
public static java.util.List<org.eclipse.aether.repository.RemoteRepository> toRepos(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> repos)
public static org.eclipse.aether.repository.RemoteRepository toRepo(org.apache.maven.artifact.repository.ArtifactRepository repo)
public static java.lang.String getLayout(org.apache.maven.artifact.repository.ArtifactRepository repo)
public static org.apache.maven.artifact.handler.ArtifactHandler newHandler(org.eclipse.aether.artifact.Artifact artifact)
public static org.eclipse.aether.artifact.ArtifactType newArtifactType(java.lang.String id,
org.apache.maven.artifact.handler.ArtifactHandler handler)
public static org.eclipse.aether.graph.Dependency toDependency(org.apache.maven.model.Dependency dependency,
org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes)
public static org.eclipse.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager)
public static java.util.Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(java.util.Collection<org.apache.maven.artifact.Artifact> artifactsToConvert)
public static org.eclipse.aether.repository.WorkspaceRepository getWorkspace(org.eclipse.aether.RepositorySystemSession session)
public static boolean repositoriesEquals(java.util.List<org.eclipse.aether.repository.RemoteRepository> r1,
java.util.List<org.eclipse.aether.repository.RemoteRepository> r2)
public static int repositoriesHashCode(java.util.List<org.eclipse.aether.repository.RemoteRepository> repositories)