Table of Contents
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. |
mavenDeployer(args, configureAction) | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. |
mavenDeployer(configureAction) | 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. |
mavenInstaller(args, configureAction) | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. |
mavenInstaller(configureAction) | Adds a repository for installing to a local Maven cache. 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.
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.
GroovyMavenDeployer
mavenDeployer
(Map
<String
, ?>
args, Action
<? super GroovyMavenDeployer
>
configureAction)
Map
<String
, ?>Action
<? super GroovyMavenDeployer
>Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
GroovyMavenDeployer
mavenDeployer
(Action
<? super GroovyMavenDeployer
>
configureAction)
Action
<? super GroovyMavenDeployer
>Adds a repository for publishing to a Maven repository. 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.
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.
MavenResolver
mavenInstaller
(Map
<String
, ?>
args, Action
<? super MavenResolver
>
configureAction)
Map
<String
, ?>Action
<? super MavenResolver
>Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
MavenResolver
mavenInstaller
(Action
<? super MavenResolver
>
configureAction)
Action
<? super MavenResolver
>Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.