public interface MavenResolver extends ArtifactRepository, PomFilterContainer
ArtifactRepository
which can be used to publish artifacts to Maven repositories.DEFAULT_ARTIFACT_POM_NAME
Modifier and Type | Method and Description |
---|---|
void |
beforeDeployment(Action<? super MavenDeployment> action)
Adds an action to be executed immediately before a deployment to this resolver.
|
void |
beforeDeployment(Closure action)
Adds a closure to be executed immediately before a deployment to this resolver.
|
Object |
getSettings()
Returns a Maven settings object.
|
getName, setName
Object getSettings()
void beforeDeployment(Action<? super MavenDeployment> action)
action
- The action to execute.void beforeDeployment(Closure action)
MavenDeployment
as a parameter. The closure is executed after all artifacts have
been build, including generation of the POM. The closure can modify the set of artifacts to be deployed.action
- The closure to execute.