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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetLayout(org.apache.maven.artifact.repository.ArtifactRepository repo) static org.eclipse.aether.repository.WorkspaceRepositorygetWorkspace(org.eclipse.aether.RepositorySystemSession session) static org.eclipse.aether.artifact.ArtifactTypenewArtifactType(String id, org.apache.maven.artifact.handler.ArtifactHandler handler) static org.eclipse.aether.artifact.ArtifactTypeRegistrynewArtifactTypeRegistry(ArtifactHandlerManager handlerManager) static org.apache.maven.artifact.handler.ArtifactHandlernewHandler(org.eclipse.aether.artifact.Artifact artifact) static org.eclipse.aether.RepositorySystemSessionoverlay(org.apache.maven.artifact.repository.ArtifactRepository repository, org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.RepositorySystem system) static booleanrepositoriesEquals(List<org.eclipse.aether.repository.RemoteRepository> r1, List<org.eclipse.aether.repository.RemoteRepository> r2) static intrepositoriesHashCode(List<org.eclipse.aether.repository.RemoteRepository> repositories) static org.eclipse.aether.artifact.ArtifacttoArtifact(org.apache.maven.artifact.Artifact artifact) static org.apache.maven.artifact.ArtifacttoArtifact(org.eclipse.aether.artifact.Artifact artifact) static org.apache.maven.artifact.ArtifacttoArtifact(org.eclipse.aether.graph.Dependency dependency) static Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<org.apache.maven.artifact.Artifact> artifactsToConvert) static voidtoArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts, Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, List<String> trail, org.eclipse.aether.graph.DependencyFilter filter) static org.eclipse.aether.graph.DependencytoDependency(org.apache.maven.artifact.Artifact artifact, Collection<org.apache.maven.model.Exclusion> exclusions) static org.eclipse.aether.graph.DependencytoDependency(org.apache.maven.model.Dependency dependency, org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) static org.eclipse.aether.repository.RemoteRepositorytoRepo(org.apache.maven.artifact.repository.ArtifactRepository repo) static List<org.eclipse.aether.repository.RemoteRepository>
-
Constructor Details
-
RepositoryUtils
public RepositoryUtils()
-
-
Method Details
-
toArtifact
public static org.apache.maven.artifact.Artifact toArtifact(org.eclipse.aether.graph.Dependency dependency) -
toArtifact
public static org.apache.maven.artifact.Artifact toArtifact(org.eclipse.aether.artifact.Artifact artifact) -
toArtifacts
public static void toArtifacts(Collection<org.apache.maven.artifact.Artifact> artifacts, Collection<? extends org.eclipse.aether.graph.DependencyNode> nodes, List<String> trail, org.eclipse.aether.graph.DependencyFilter filter) -
toArtifact
public static org.eclipse.aether.artifact.Artifact toArtifact(org.apache.maven.artifact.Artifact artifact) -
toDependency
public static org.eclipse.aether.graph.Dependency toDependency(org.apache.maven.artifact.Artifact artifact, Collection<org.apache.maven.model.Exclusion> exclusions) -
toRepos
-
toRepo
public static org.eclipse.aether.repository.RemoteRepository toRepo(org.apache.maven.artifact.repository.ArtifactRepository repo) -
getLayout
-
newHandler
public static org.apache.maven.artifact.handler.ArtifactHandler newHandler(org.eclipse.aether.artifact.Artifact artifact) -
newArtifactType
public static org.eclipse.aether.artifact.ArtifactType newArtifactType(String id, org.apache.maven.artifact.handler.ArtifactHandler handler) -
toDependency
public static org.eclipse.aether.graph.Dependency toDependency(org.apache.maven.model.Dependency dependency, org.eclipse.aether.artifact.ArtifactTypeRegistry stereotypes) -
newArtifactTypeRegistry
public static org.eclipse.aether.artifact.ArtifactTypeRegistry newArtifactTypeRegistry(ArtifactHandlerManager handlerManager) -
toArtifacts
public static Collection<org.eclipse.aether.artifact.Artifact> toArtifacts(Collection<org.apache.maven.artifact.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) -
overlay
public static org.eclipse.aether.RepositorySystemSession overlay(org.apache.maven.artifact.repository.ArtifactRepository repository, org.eclipse.aether.RepositorySystemSession session, org.eclipse.aether.RepositorySystem system)
-