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.
Delegating local artifact repository chains the reactor, IDE workspace
and user local repository.
-
Constructor Summary
ConstructorDescriptionDelegatingLocalArtifactRepository
(ArtifactRepository artifactRepository) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Deprecated.findVersions
(Artifact artifact) Deprecated.Finds the versions of the specified artifact that are available in this repository.Deprecated.getId()
Deprecated.Deprecated.Deprecated.getKey()
Deprecated.Deprecated.Deprecated.Deprecated.getUrl()
Deprecated.int
hashCode()
Deprecated.Deprecated.pathOfLocalRepositoryMetadata
(ArtifactMetadata metadata, ArtifactRepository repository) Deprecated.void
setBuildReactor
(LocalArtifactRepository localRepository) Deprecated.void
setIdeWorkspace
(LocalArtifactRepository localRepository) Deprecated.Methods inherited from class org.apache.maven.artifact.repository.MavenArtifactRepository
eq, getAuthentication, getMirroredRepositories, getProtocol, getProxy, isBlacklisted, isBlocked, isProjectAware, isUniqueVersion, pathOfRemoteRepositoryMetadata, setAuthentication, setBlacklisted, setBlocked, setId, setLayout, setMirroredRepositories, setProxy, setReleaseUpdatePolicy, setSnapshotUpdatePolicy, setUrl, toString
-
Constructor Details
-
DelegatingLocalArtifactRepository
Deprecated.
-
-
Method Details
-
setBuildReactor
Deprecated. -
setIdeWorkspace
Deprecated. -
getIdeWorspace
Deprecated.instead usegetIdeWorkspace()
-
getIdeWorkspace
Deprecated. -
find
Deprecated.- Specified by:
find
in interfaceArtifactRepository
- Overrides:
find
in classMavenArtifactRepository
- Parameters:
artifact
-
-
findVersions
Deprecated.Description copied from interface:ArtifactRepository
Finds the versions of the specified artifact that are available in this repository.- Specified by:
findVersions
in interfaceArtifactRepository
- Overrides:
findVersions
in 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 String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) Deprecated.- Specified by:
pathOfLocalRepositoryMetadata
in interfaceArtifactRepository
- Overrides:
pathOfLocalRepositoryMetadata
in classMavenArtifactRepository
-
getId
Deprecated.- Specified by:
getId
in interfaceArtifactRepository
- Overrides:
getId
in classMavenArtifactRepository
-
pathOf
Deprecated.- Specified by:
pathOf
in interfaceArtifactRepository
- Overrides:
pathOf
in classMavenArtifactRepository
-
getBasedir
Deprecated.- Specified by:
getBasedir
in interfaceArtifactRepository
- Overrides:
getBasedir
in classMavenArtifactRepository
-
getLayout
Deprecated.- Specified by:
getLayout
in interfaceArtifactRepository
- Overrides:
getLayout
in classMavenArtifactRepository
-
getReleases
Deprecated.- Specified by:
getReleases
in interfaceArtifactRepository
- Overrides:
getReleases
in classMavenArtifactRepository
-
getSnapshots
Deprecated.- Specified by:
getSnapshots
in interfaceArtifactRepository
- Overrides:
getSnapshots
in classMavenArtifactRepository
-
getKey
Deprecated.- Specified by:
getKey
in interfaceArtifactRepository
- Overrides:
getKey
in classMavenArtifactRepository
-
getUrl
Deprecated.- Specified by:
getUrl
in interfaceArtifactRepository
- Overrides:
getUrl
in classMavenArtifactRepository
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCode
in classMavenArtifactRepository
-
equals
Deprecated.- Overrides:
equals
in classMavenArtifactRepository
-
getIdeWorkspace()