Interface ArtifactRepository
-
@Deprecated public interface ArtifactRepository
Deprecated.Avoid use of this type, if you need access to local repository use repository system classes instead.Abstraction of an artifact repository. Artifact repositories can be remote, local, or even build reactor or IDE workspace.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Artifact
find(Artifact artifact)
Deprecated.List<String>
findVersions(Artifact artifact)
Deprecated.Finds the versions of the specified artifact that are available in this repository.Authentication
getAuthentication()
Deprecated.String
getBasedir()
Deprecated.String
getId()
Deprecated.String
getKey()
Deprecated.ArtifactRepositoryLayout
getLayout()
Deprecated.List<ArtifactRepository>
getMirroredRepositories()
Deprecated.String
getProtocol()
Deprecated.Proxy
getProxy()
Deprecated.ArtifactRepositoryPolicy
getReleases()
Deprecated.ArtifactRepositoryPolicy
getSnapshots()
Deprecated.String
getUrl()
Deprecated.boolean
isBlacklisted()
Deprecated.boolean
isBlocked()
Deprecated.boolean
isProjectAware()
Deprecated.Indicates whether this repository is backed by actual projects.boolean
isUniqueVersion()
Deprecated.String
pathOf(Artifact artifact)
Deprecated.String
pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
Deprecated.String
pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
Deprecated.void
setAuthentication(Authentication authentication)
Deprecated.void
setBlacklisted(boolean blackListed)
Deprecated.void
setBlocked(boolean blocked)
Deprecated.void
setId(String id)
Deprecated.void
setLayout(ArtifactRepositoryLayout layout)
Deprecated.void
setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
Deprecated.void
setProxy(Proxy proxy)
Deprecated.void
setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
Deprecated.void
setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
Deprecated.void
setUrl(String url)
Deprecated.
-
-
-
Method Detail
-
pathOfRemoteRepositoryMetadata
String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
Deprecated.
-
pathOfLocalRepositoryMetadata
String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
Deprecated.
-
getUrl
String getUrl()
Deprecated.
-
setUrl
void setUrl(String url)
Deprecated.
-
getBasedir
String getBasedir()
Deprecated.
-
getProtocol
String getProtocol()
Deprecated.
-
getId
String getId()
Deprecated.
-
setId
void setId(String id)
Deprecated.
-
getSnapshots
ArtifactRepositoryPolicy getSnapshots()
Deprecated.
-
setSnapshotUpdatePolicy
void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
Deprecated.
-
getReleases
ArtifactRepositoryPolicy getReleases()
Deprecated.
-
setReleaseUpdatePolicy
void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
Deprecated.
-
getLayout
ArtifactRepositoryLayout getLayout()
Deprecated.
-
setLayout
void setLayout(ArtifactRepositoryLayout layout)
Deprecated.
-
getKey
String getKey()
Deprecated.
-
isUniqueVersion
@Deprecated boolean isUniqueVersion()
Deprecated.
-
isBlacklisted
@Deprecated boolean isBlacklisted()
Deprecated.
-
setBlacklisted
@Deprecated void setBlacklisted(boolean blackListed)
Deprecated.
-
isBlocked
boolean isBlocked()
Deprecated.- Since:
- 3.8.1
-
setBlocked
void setBlocked(boolean blocked)
Deprecated.- Since:
- 3.8.1
-
findVersions
List<String> findVersions(Artifact artifact)
Deprecated.Finds the versions of the specified artifact that are available in this repository.- 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
. - Since:
- 3.0-alpha-3
-
isProjectAware
boolean isProjectAware()
Deprecated.Indicates whether this repository is backed by actual projects. For instance, the build reactor or IDE workspace are examples of such repositories.- Returns:
true
if the repository is backed by actual projects,false
otherwise.- Since:
- 3.0-beta-1
-
setAuthentication
void setAuthentication(Authentication authentication)
Deprecated.- Since:
- 3.0-alpha-3
-
getAuthentication
Authentication getAuthentication()
Deprecated.- Since:
- 3.0-alpha-3
-
setProxy
void setProxy(Proxy proxy)
Deprecated.- Since:
- 3.0-alpha-3
-
getProxy
Proxy getProxy()
Deprecated.- Since:
- 3.0-alpha-3
-
getMirroredRepositories
List<ArtifactRepository> getMirroredRepositories()
Deprecated.- Returns:
- the repositories mirrored by the actual one
- Since:
- 3.0.3
-
setMirroredRepositories
void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
Deprecated.- Parameters:
mirroredRepositories
- the repositories that the actual one mirrors- Since:
- 3.0.3
-
-