| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRepositoryRequest
Collects basic settings to access the repository system.
|
| Modifier and Type | Method and Description |
|---|---|
static RepositoryRequest |
DefaultRepositoryRequest.getRepositoryRequest(MavenSession session,
MavenProject project) |
RepositoryRequest |
RepositoryRequest.setForceUpdate(boolean forceUpdate)
Enables/disabled forced checks for updated artifacts/metadata on remote repositories.
|
RepositoryRequest |
RepositoryRequest.setLocalRepository(org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Sets the local repository to use.
|
RepositoryRequest |
RepositoryRequest.setOffline(boolean offline)
Enables/disables network access to remote repositories.
|
RepositoryRequest |
RepositoryRequest.setRemoteRepositories(java.util.List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepositories)
Sets the remote repositories to use.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
RepositoryCache.get(RepositoryRequest request,
java.lang.Object key)
Deprecated.
Gets the specified data from the cache.
|
void |
RepositoryCache.put(RepositoryRequest request,
java.lang.Object key,
java.lang.Object data)
Deprecated.
Puts the specified data into the cache.
|
| Constructor and Description |
|---|
DefaultRepositoryRequest(RepositoryRequest repositoryRequest)
Creates a shallow copy of the specified repository request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RepositoryMetadataManager.resolve(RepositoryMetadata repositoryMetadata,
RepositoryRequest repositoryRequest) |
| Modifier and Type | Class and Description |
|---|---|
class |
ArtifactResolutionRequest
A resolution request allows you to either use an existing MavenProject, or a coordinate (gid:aid:version)
to process a POMs dependencies.
|
| Constructor and Description |
|---|
ArtifactResolutionRequest(RepositoryRequest request) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MetadataResolutionRequest
Forms a request to retrieve artifact metadata.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultMetadataResolutionRequest
Forms a request to retrieve artifact metadata.
|
| Constructor and Description |
|---|
DefaultMetadataResolutionRequest(RepositoryRequest repositoryRequest) |