@Deprecated public class DelegatingLocalArtifactRepository extends MavenArtifactRepository
Constructor and Description |
---|
DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)
Deprecated.
|
eq, getAuthentication, getMirroredRepositories, getProtocol, getProxy, isBlacklisted, isBlocked, isProjectAware, isUniqueVersion, pathOfRemoteRepositoryMetadata, setAuthentication, setBlacklisted, setBlocked, setId, setLayout, setMirroredRepositories, setProxy, setReleaseUpdatePolicy, setSnapshotUpdatePolicy, setUrl, toString
public DelegatingLocalArtifactRepository(ArtifactRepository artifactRepository)
public void setBuildReactor(LocalArtifactRepository localRepository)
public void setIdeWorkspace(LocalArtifactRepository localRepository)
@Deprecated public LocalArtifactRepository getIdeWorspace()
getIdeWorkspace()
public LocalArtifactRepository getIdeWorkspace()
public Artifact find(Artifact artifact)
find
in interface ArtifactRepository
find
in class MavenArtifactRepository
public List<String> findVersions(Artifact artifact)
ArtifactRepository
findVersions
in interface ArtifactRepository
findVersions
in class MavenArtifactRepository
artifact
- The artifact whose available versions should be determined, must not be null
.null
.public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
pathOfLocalRepositoryMetadata
in interface ArtifactRepository
pathOfLocalRepositoryMetadata
in class MavenArtifactRepository
public String getId()
getId
in interface ArtifactRepository
getId
in class MavenArtifactRepository
public String pathOf(Artifact artifact)
pathOf
in interface ArtifactRepository
pathOf
in class MavenArtifactRepository
public String getBasedir()
getBasedir
in interface ArtifactRepository
getBasedir
in class MavenArtifactRepository
public ArtifactRepositoryLayout getLayout()
getLayout
in interface ArtifactRepository
getLayout
in class MavenArtifactRepository
public ArtifactRepositoryPolicy getReleases()
getReleases
in interface ArtifactRepository
getReleases
in class MavenArtifactRepository
public ArtifactRepositoryPolicy getSnapshots()
getSnapshots
in interface ArtifactRepository
getSnapshots
in class MavenArtifactRepository
public String getKey()
getKey
in interface ArtifactRepository
getKey
in class MavenArtifactRepository
public String getUrl()
getUrl
in interface ArtifactRepository
getUrl
in class MavenArtifactRepository
public int hashCode()
hashCode
in class MavenArtifactRepository
public boolean equals(Object obj)
equals
in class MavenArtifactRepository
Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.