Allows Maven repositories for publishing artifacts to be defined. The Maven plugin mixes-in this interface to the RepositoryHandler associated with each task of type Upload.
| Modifiers | Name | Description |
|---|---|---|
String |
DEFAULT_MAVEN_DEPLOYER_NAME |
|
String |
DEFAULT_MAVEN_INSTALLER_NAME |
| Type | Name and description |
|---|---|
GroovyMavenDeployer |
mavenDeployer()Adds a repository for publishing to a Maven repository. |
GroovyMavenDeployer |
mavenDeployer(groovy.lang.Closure configureClosure)Adds a repository for publishing to a Maven repository. |
GroovyMavenDeployer |
mavenDeployer(Map<String, ?> args)Adds a repository for publishing to a Maven repository. |
GroovyMavenDeployer |
mavenDeployer(Map<String, ?> args, groovy.lang.Closure configureClosure)Adds a repository for publishing to a Maven repository. |
MavenResolver |
mavenInstaller()Adds a repository for installing to a local Maven cache. |
MavenResolver |
mavenInstaller(groovy.lang.Closure configureClosure)Adds a repository for installing to a local Maven cache. |
MavenResolver |
mavenInstaller(Map<String, ?> args)Adds a repository for installing to a local Maven cache. |
MavenResolver |
mavenInstaller(Map<String, ?> args, groovy.lang.Closure configureClosure)Adds a repository for installing to a local Maven cache. |
Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
configureClosure - A closure to use to configure the repository.Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:
| Key | Description of Associated Value |
|---|---|
name |
(optional) The name of the repository. The default is mavenDeployer-{SOME_ID}. The name is used in the console output, to point to information related to a particular repository. A name must be unique amongst a repository group. |
args - The argument to create the repositoryAdds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
args - The argument to create the repositoryconfigureClosure - A closure to use to configure the repository.Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
configureClosure - A closure to use to configure the repository.Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:
| Key | Description of Associated Value |
|---|---|
name |
(optional) The name of the repository. The default is mavenInstaller-{SOME_ID}. The name is used in the console output, to point to information related to a particular repository. A name must be unique amongst a repository group. |
args - The argument to create the repositoryAdds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
args - The argument to create the repositoryconfigureClosure - A closure to use to configure the repository.