| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultRepositoryRequest |
Collects basic settings to access the repository system.
|
| Modifier and Type | Method | 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 | 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 | Description |
|---|---|
DefaultRepositoryRequest(RepositoryRequest repositoryRequest) |
Creates a shallow copy of the specified repository request.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
RepositoryMetadataManager.resolve(RepositoryMetadata repositoryMetadata,
RepositoryRequest repositoryRequest) |
| Modifier and Type | Class | 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 | Description |
|---|---|
ArtifactResolutionRequest(RepositoryRequest request) |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
MetadataResolutionRequest |
Forms a request to retrieve artifact metadata.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
DefaultMetadataResolutionRequest |
Forms a request to retrieve artifact metadata.
|
| Constructor | Description |
|---|---|
DefaultMetadataResolutionRequest(RepositoryRequest repositoryRequest) |