Package org.apache.maven
Class RepositoryUtils
java.lang.Object
org.apache.maven.RepositoryUtils
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getLayout
(ArtifactRepository repo) static org.eclipse.aether.repository.WorkspaceRepository
getWorkspace
(org.eclipse.aether.RepositorySystemSession session) static org.eclipse.aether.artifact.ArtifactType
newArtifactType
(String id, ArtifactHandler handler) static org.eclipse.aether.artifact.ArtifactTypeRegistry
newArtifactTypeRegistry
(ArtifactHandlerManager handlerManager) static ArtifactHandler
newHandler
(org.eclipse.aether.artifact.Artifact artifact) private static String
private static boolean
policyEquals
(org.eclipse.aether.repository.RepositoryPolicy p1, org.eclipse.aether.repository.RepositoryPolicy p2) static boolean
repositoriesEquals
(List<org.eclipse.aether.repository.RemoteRepository> r1, List<org.eclipse.aether.repository.RemoteRepository> r2) static int
repositoriesHashCode
(List<org.eclipse.aether.repository.RemoteRepository> repositories) private static boolean
repositoryEquals
(org.eclipse.aether.repository.RemoteRepository r1, org.eclipse.aether.repository.RemoteRepository r2) private static int
repositoryHashCode
(org.eclipse.aether.repository.RemoteRepository repository) static org.eclipse.aether.artifact.Artifact
toArtifact
(Artifact artifact) static Artifact
toArtifact
(org.eclipse.aether.artifact.Artifact artifact) private static Artifact
toArtifact
(org.eclipse.aether.graph.Dependency dependency) static Collection<org.eclipse.aether.artifact.Artifact>
toArtifacts
(Collection<Artifact> artifactsToConvert) static void
toArtifacts
(Collection<Artifact> artifacts, Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, List<String> trail, org.eclipse.aether.graph.DependencyFilter filter) private static org.eclipse.aether.repository.Authentication
static org.eclipse.aether.graph.Dependency
toDependency
(Artifact artifact, 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
static org.eclipse.aether.repository.RemoteRepository
toRepo
(ArtifactRepository repo) static List<org.eclipse.aether.repository.RemoteRepository>
toRepos
(List<ArtifactRepository> repos)
-
Constructor Details
-
RepositoryUtils
public RepositoryUtils()
-
-
Method Details
-
nullify
-
toArtifact
-
toArtifact
-
toArtifacts
public static void toArtifacts(Collection<Artifact> artifacts, Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, List<String> trail, org.eclipse.aether.graph.DependencyFilter filter) -
toArtifact
-
toDependency
public static org.eclipse.aether.graph.Dependency toDependency(Artifact artifact, Collection<Exclusion> exclusions) -
toRepos
public static List<org.eclipse.aether.repository.RemoteRepository> toRepos(List<ArtifactRepository> repos) -
toRepo
-
getLayout
-
toPolicy
private static org.eclipse.aether.repository.RepositoryPolicy toPolicy(ArtifactRepositoryPolicy policy) -
toAuthentication
-
toProxy
-
newHandler
-
newArtifactType
public static org.eclipse.aether.artifact.ArtifactType newArtifactType(String id, ArtifactHandler handler) -
toDependency
public static org.eclipse.aether.graph.Dependency toDependency(Dependency dependency, org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) -
toExclusion
-
newArtifactTypeRegistry
public static org.eclipse.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) -
toArtifacts
public static Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<Artifact> artifactsToConvert) -
getWorkspace
public static org.eclipse.aether.repository.WorkspaceRepository getWorkspace(org.eclipse.aether.RepositorySystemSession session) -
repositoriesEquals
-
repositoriesHashCode
public static int repositoriesHashCode(List<org.eclipse.aether.repository.RemoteRepository> repositories) -
repositoryHashCode
private static int repositoryHashCode(org.eclipse.aether.repository.RemoteRepository repository) -
policyEquals
private static boolean policyEquals(org.eclipse.aether.repository.RepositoryPolicy p1, org.eclipse.aether.repository.RepositoryPolicy p2) -
repositoryEquals
private static boolean repositoryEquals(org.eclipse.aether.repository.RemoteRepository r1, org.eclipse.aether.repository.RemoteRepository r2)
-