Groovy Documentation

release
[Groovy] Class ReleasePlugin

java.lang.Object
  release.PluginHelper
      release.ReleasePlugin
All Implemented Interfaces:
Plugin

class ReleasePlugin
extends PluginHelper

Authors:
elberry
evgenyg Created: Tue Aug 09 15:32:00 PDT 2011


Property Summary
static java.lang.String RELEASE_GROUP

 
Method Summary
void apply(Project project)

java.lang.Object checkPropertiesFile()

void checkSnapshotDependencies()

java.lang.Object commitNewVersion()

void commitTag()

void confirmReleaseVersion()

protected java.lang.Class findScmType(java.io.File directory)

Recursively look for the type of the SCM we are dealing with, if no match is found look in parent directory

void initScmPlugin()

void preTagCommit()

void unSnapshotVersion()

void updateVersion()

 
Methods inherited from class PluginHelper
capitalize, convention, exec, exec, findPropertiesFile, findProperty, getLog, promptYesOrNo, readLine, releaseConvention, setConvention, tagName, updateVersionProperty, useAutomaticVersion, warnOrThrow
 

Property Detail

RELEASE_GROUP

static final java.lang.String RELEASE_GROUP


 
Method Detail

apply

void apply(Project project)


checkPropertiesFile

java.lang.Object checkPropertiesFile()


checkSnapshotDependencies

void checkSnapshotDependencies()


commitNewVersion

java.lang.Object commitNewVersion()


commitTag

void commitTag()


confirmReleaseVersion

void confirmReleaseVersion()


findScmType

protected java.lang.Class findScmType(java.io.File directory)
Recursively look for the type of the SCM we are dealing with, if no match is found look in parent directory
Parameters:
directory - the directory to start from


initScmPlugin

void initScmPlugin()


preTagCommit

void preTagCommit()


unSnapshotVersion

void unSnapshotVersion()


updateVersion

void updateVersion()


 

Groovy Documentation