public final class EclipseWorkspaceArtifactRepository
extends org.apache.maven.repository.LocalArtifactRepository
implements org.eclipse.aether.repository.WorkspaceReader
Constructor and Description |
---|
EclipseWorkspaceArtifactRepository(org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.Context context) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.apache.maven.artifact.Artifact |
find(org.apache.maven.artifact.Artifact artifact) |
File |
findArtifact(org.eclipse.aether.artifact.Artifact artifact) |
List<String> |
findVersions(org.eclipse.aether.artifact.Artifact artifact) |
List<String> |
findVersions(org.apache.maven.artifact.Artifact artifact) |
org.eclipse.aether.repository.WorkspaceRepository |
getRepository() |
int |
hashCode() |
boolean |
hasLocalMetadata() |
static boolean |
isDisabled() |
protected File |
resolveAsEclipseProject(String groupId,
String artifactId,
String baseVersion,
String classifier,
String extension) |
static void |
setDisabled(boolean disable) |
eq, getAuthentication, getBasedir, getId, getKey, getLayout, getMirroredRepositories, getProtocol, getProxy, getReleases, getSnapshots, getUrl, isBlacklisted, isProjectAware, isUniqueVersion, pathOf, pathOfLocalRepositoryMetadata, pathOfRemoteRepositoryMetadata, setAuthentication, setBlacklisted, setId, setLayout, setMirroredRepositories, setProxy, setReleaseUpdatePolicy, setSnapshotUpdatePolicy, setUrl, toString
public EclipseWorkspaceArtifactRepository(org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.Context context)
protected File resolveAsEclipseProject(String groupId, String artifactId, String baseVersion, String classifier, String extension)
public File findArtifact(org.eclipse.aether.artifact.Artifact artifact)
findArtifact
in interface org.eclipse.aether.repository.WorkspaceReader
public org.apache.maven.artifact.Artifact find(org.apache.maven.artifact.Artifact artifact)
find
in interface org.apache.maven.artifact.repository.ArtifactRepository
find
in class org.apache.maven.repository.LocalArtifactRepository
public boolean hasLocalMetadata()
hasLocalMetadata
in class org.apache.maven.repository.LocalArtifactRepository
public static void setDisabled(boolean disable)
public static boolean isDisabled()
public int hashCode()
hashCode
in class org.apache.maven.artifact.repository.MavenArtifactRepository
public boolean equals(Object obj)
equals
in class org.apache.maven.artifact.repository.MavenArtifactRepository
public List<String> findVersions(org.eclipse.aether.artifact.Artifact artifact)
findVersions
in interface org.eclipse.aether.repository.WorkspaceReader
public List<String> findVersions(org.apache.maven.artifact.Artifact artifact)
findVersions
in interface org.apache.maven.artifact.repository.ArtifactRepository
findVersions
in class org.apache.maven.artifact.repository.MavenArtifactRepository
public org.eclipse.aether.repository.WorkspaceRepository getRepository()
getRepository
in interface org.eclipse.aether.repository.WorkspaceReader
Copyright © 2005–2015 Sonatype, Inc.. All rights reserved.