|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface 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.
Field Summary | |
---|---|
java.lang.String |
DEFAULT_MAVEN_DEPLOYER_NAME
|
java.lang.String |
DEFAULT_MAVEN_INSTALLER_NAME
|
Method Summary | |
---|---|
GroovyMavenDeployer
|
mavenDeployer()
|
GroovyMavenDeployer
|
mavenDeployer(groovy.lang.Closure configureClosure)
|
GroovyMavenDeployer
|
mavenDeployer(java.util.Map args)
Adds a repository for publishing to a Maven repository. |
GroovyMavenDeployer
|
mavenDeployer(java.util.Map args, groovy.lang.Closure configureClosure)
Behaves the same way as mavenDeployer(java.util.Map). |
MavenResolver
|
mavenInstaller()
|
MavenResolver
|
mavenInstaller(groovy.lang.Closure configureClosure)
|
MavenResolver
|
mavenInstaller(java.util.Map args)
Adds a repository for installing to a local Maven cache. |
MavenResolver
|
mavenInstaller(java.util.Map args, groovy.lang.Closure configureClosure)
Behaves the same way as mavenInstaller(java.util.Map). |
Field Detail |
---|
public java.lang.String DEFAULT_MAVEN_DEPLOYER_NAME
public java.lang.String DEFAULT_MAVEN_INSTALLER_NAME
Method Detail |
---|
public GroovyMavenDeployer mavenDeployer()
public GroovyMavenDeployer mavenDeployer(groovy.lang.Closure configureClosure)
public GroovyMavenDeployer mavenDeployer(java.util.Map args)
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 repository
public GroovyMavenDeployer mavenDeployer(java.util.Map args, groovy.lang.Closure configureClosure)
args
- The argument to create the repository
public MavenResolver mavenInstaller()
public MavenResolver mavenInstaller(groovy.lang.Closure configureClosure)
public MavenResolver mavenInstaller(java.util.Map args)
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 repository
public MavenResolver mavenInstaller(java.util.Map args, groovy.lang.Closure configureClosure)
args
- The argument to create the repository
Groovy Documentation