Groovy Documentation

net.researchgate.release
[Groovy] Class ReleasePlugin

java.lang.Object
  net.researchgate.release.PluginHelper
      net.researchgate.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

java.lang.String getNextVersion(java.lang.String candidateVersion)

java.lang.String getReleaseVersion(java.lang.String candidateVersion = "${project.version}")

void initScmPlugin()

void preTagCommit()

void unSnapshotVersion()

void updateVersion()

 
Methods inherited from class PluginHelper
capitalize, convention, exec, exec, findPropertiesFile, findProperty, getLog, isVersionDefined, 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


getNextVersion

java.lang.String getNextVersion(java.lang.String candidateVersion)


getReleaseVersion

java.lang.String getReleaseVersion(java.lang.String candidateVersion = "${project.version}")


initScmPlugin

void initScmPlugin()


preTagCommit

void preTagCommit()


unSnapshotVersion

void unSnapshotVersion()


updateVersion

void updateVersion()


 

Groovy Documentation