Package org.apache.maven.repository
Class DelegatingLocalArtifactRepository
- java.lang.Object
-
- org.apache.maven.artifact.repository.MavenArtifactRepository
-
- org.apache.maven.repository.DelegatingLocalArtifactRepository
-
- All Implemented Interfaces:
ArtifactRepository
@Deprecated public class DelegatingLocalArtifactRepository extends MavenArtifactRepository
Deprecated.Delegating local artifact repository chains the reactor, IDE workspace and user local repository.
-
-
Field Summary
Fields Modifier and Type Field Description private LocalArtifactRepositorybuildReactorDeprecated.private LocalArtifactRepositoryideWorkspaceDeprecated.private ArtifactRepositoryuserLocalArtifactRepositoryDeprecated.
-
Constructor Summary
Constructors Constructor Description DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Deprecated.Artifactfind(Artifact artifact)Deprecated.java.util.List<java.lang.String>findVersions(Artifact artifact)Deprecated.Finds the versions of the specified artifact that are available in this repository.java.lang.StringgetBasedir()Deprecated.java.lang.StringgetId()Deprecated.LocalArtifactRepositorygetIdeWorkspace()Deprecated.LocalArtifactRepositorygetIdeWorspace()Deprecated.instead usegetIdeWorkspace()java.lang.StringgetKey()Deprecated.ArtifactRepositoryLayoutgetLayout()Deprecated.ArtifactRepositoryPolicygetReleases()Deprecated.ArtifactRepositoryPolicygetSnapshots()Deprecated.java.lang.StringgetUrl()Deprecated.inthashCode()Deprecated.java.lang.StringpathOf(Artifact artifact)Deprecated.java.lang.StringpathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)Deprecated.voidsetBuildReactor(LocalArtifactRepository localRepository)Deprecated.voidsetIdeWorkspace(LocalArtifactRepository localRepository)Deprecated.-
Methods inherited from class org.apache.maven.artifact.repository.MavenArtifactRepository
eq, getAuthentication, getMirroredRepositories, getProtocol, getProxy, isBlacklisted, isProjectAware, isUniqueVersion, pathOfRemoteRepositoryMetadata, setAuthentication, setBlacklisted, setId, setLayout, setMirroredRepositories, setProxy, setReleaseUpdatePolicy, setSnapshotUpdatePolicy, setUrl, toString
-
-
-
-
Field Detail
-
buildReactor
private LocalArtifactRepository buildReactor
Deprecated.
-
ideWorkspace
private LocalArtifactRepository ideWorkspace
Deprecated.
-
userLocalArtifactRepository
private ArtifactRepository userLocalArtifactRepository
Deprecated.
-
-
Constructor Detail
-
DelegatingLocalArtifactRepository
public DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)
Deprecated.
-
-
Method Detail
-
setBuildReactor
public void setBuildReactor(LocalArtifactRepository localRepository)
Deprecated.
-
setIdeWorkspace
public void setIdeWorkspace(LocalArtifactRepository localRepository)
Deprecated.
-
getIdeWorspace
@Deprecated public LocalArtifactRepository getIdeWorspace()
Deprecated.instead usegetIdeWorkspace()
-
getIdeWorkspace
public LocalArtifactRepository getIdeWorkspace()
Deprecated.
-
find
public Artifact find(Artifact artifact)
Deprecated.- Specified by:
findin interfaceArtifactRepository- Overrides:
findin classMavenArtifactRepository
-
findVersions
public java.util.List<java.lang.String> findVersions(Artifact artifact)
Deprecated.Description copied from interface:ArtifactRepositoryFinds the versions of the specified artifact that are available in this repository.- Specified by:
findVersionsin interfaceArtifactRepository- Overrides:
findVersionsin classMavenArtifactRepository- Parameters:
artifact- The artifact whose available versions should be determined, must not benull.- Returns:
- The available versions of the artifact or an empty list if none, never
null.
-
pathOfLocalRepositoryMetadata
public java.lang.String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
Deprecated.- Specified by:
pathOfLocalRepositoryMetadatain interfaceArtifactRepository- Overrides:
pathOfLocalRepositoryMetadatain classMavenArtifactRepository
-
getId
public java.lang.String getId()
Deprecated.- Specified by:
getIdin interfaceArtifactRepository- Overrides:
getIdin classMavenArtifactRepository
-
pathOf
public java.lang.String pathOf(Artifact artifact)
Deprecated.- Specified by:
pathOfin interfaceArtifactRepository- Overrides:
pathOfin classMavenArtifactRepository
-
getBasedir
public java.lang.String getBasedir()
Deprecated.- Specified by:
getBasedirin interfaceArtifactRepository- Overrides:
getBasedirin classMavenArtifactRepository
-
getLayout
public ArtifactRepositoryLayout getLayout()
Deprecated.- Specified by:
getLayoutin interfaceArtifactRepository- Overrides:
getLayoutin classMavenArtifactRepository
-
getReleases
public ArtifactRepositoryPolicy getReleases()
Deprecated.- Specified by:
getReleasesin interfaceArtifactRepository- Overrides:
getReleasesin classMavenArtifactRepository
-
getSnapshots
public ArtifactRepositoryPolicy getSnapshots()
Deprecated.- Specified by:
getSnapshotsin interfaceArtifactRepository- Overrides:
getSnapshotsin classMavenArtifactRepository
-
getKey
public java.lang.String getKey()
Deprecated.- Specified by:
getKeyin interfaceArtifactRepository- Overrides:
getKeyin classMavenArtifactRepository
-
getUrl
public java.lang.String getUrl()
Deprecated.- Specified by:
getUrlin interfaceArtifactRepository- Overrides:
getUrlin classMavenArtifactRepository
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classMavenArtifactRepository
-
equals
public boolean equals(java.lang.Object obj)
Deprecated.- Overrides:
equalsin classMavenArtifactRepository
-
-