public interface PluginVersionRequest
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Gets the artifact id of the plugin.
|
String |
getGroupId()
Gets the group id of the plugin.
|
Model |
getPom()
Gets the POM whose build plugins are to be scanned for the version.
|
List<org.eclipse.aether.repository.RemoteRepository> |
getRepositories()
Gets the remote repositories to use.
|
org.eclipse.aether.RepositorySystemSession |
getRepositorySession()
Gets the session to use for repository access.
|
PluginVersionRequest |
setArtifactId(String artifactId)
Sets the artifact id of the plugin.
|
PluginVersionRequest |
setGroupId(String groupId)
Sets the group id of the plugin.
|
PluginVersionRequest |
setPom(Model pom)
Sets the POM whose build plugins are to be scanned for the version.
|
PluginVersionRequest |
setRepositories(List<org.eclipse.aether.repository.RemoteRepository> repositories)
Sets the remote repositories to use.
|
PluginVersionRequest |
setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
Sets the session to use for repository access.
|
String getGroupId()
PluginVersionRequest setGroupId(String groupId)
groupId
- The group id of the plugin.null
.String getArtifactId()
PluginVersionRequest setArtifactId(String artifactId)
artifactId
- The artifact id of the plugin.null
.Model getPom()
null
to only search the plugin
repositories.PluginVersionRequest setPom(Model pom)
pom
- The POM whose build plugins are to be scanned for the version, may be null
to only search the
plugin repositories.null
.List<org.eclipse.aether.repository.RemoteRepository> getRepositories()
null
.PluginVersionRequest setRepositories(List<org.eclipse.aether.repository.RemoteRepository> repositories)
repositories
- The remote repositories to use.null
.org.eclipse.aether.RepositorySystemSession getRepositorySession()
null
if not set.PluginVersionRequest setRepositorySession(org.eclipse.aether.RepositorySystemSession repositorySession)
repositorySession
- The repository session to use.null
.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.