API Documentation: | MavenRepositoryHandlerConvention |
---|
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
.
Method | Description |
mavenDeployer() | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. |
mavenDeployer(configureClosure) | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. |
mavenDeployer(args) | 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: |
mavenDeployer(args, configureClosure) | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. |
mavenInstaller() | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. |
mavenInstaller(configureClosure) | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. |
mavenInstaller(args) | 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: |
mavenInstaller(args, configureClosure) | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. |
GroovyMavenDeployer
mavenDeployer
()
Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
GroovyMavenDeployer
mavenDeployer
(Closure
configureClosure)
Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
GroovyMavenDeployer
mavenDeployer
(Map
<String
, ?>
args)
Map
<String
, ?>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. |
GroovyMavenDeployer
mavenDeployer
(Map
<String
, ?>
args, Closure
configureClosure)
Map
<String
, ?>Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
MavenResolver
mavenInstaller
()
Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
MavenResolver
mavenInstaller
(Closure
configureClosure)
Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
MavenResolver
mavenInstaller
(Map
<String
, ?>
args)
Map
<String
, ?>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. |
MavenResolver
mavenInstaller
(Map
<String
, ?>
args, Closure
configureClosure)
Map
<String
, ?>Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.