|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractPlugin
org.nuiton.jredmine.plugin.AbstractRedmineMojo
org.nuiton.jredmine.plugin.NextVersionMojo
public class NextVersionMojo
Prepare the next version to be used.
If a previous version is given, then move all unclosed issues from the previous version to the new one.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin |
|---|
org.nuiton.plugin.Plugin.Packaging |
| Field Summary | |
|---|---|
protected boolean |
dryRun
A flag to test plugin but send nothing to redmine. |
protected java.lang.String |
versionDescription
The news description to update to redmine server. |
| Fields inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
|---|
dateFormat, encoding, password, project, projectId, REDMINE_SYSTEM, releaseProject, releaseUser, releaseVersion, runOnceDone, safe, service, session, url, username, users, verbose, versionId |
| Fields inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
skipAfterInitMessage |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
NextVersionMojo()
|
|
| Method Summary | |
|---|---|
protected boolean |
checkRunOnceDone()
|
protected void |
doAction()
Re-expose the protected method for test purposes... |
protected boolean |
init()
|
protected boolean |
isGoalSkip()
|
protected boolean |
isRunOnce()
|
| Methods inherited from class org.nuiton.jredmine.plugin.AbstractRedmineMojo |
|---|
closeService, execute, getEncoding, getProject, getRestPassword, getRestUrl, getRestUsername, initReleaseProject, initReleaseUser, initReleaseVersion, isRunOnceDone, isSafe, isVerbose, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerbose |
| Methods inherited from class org.nuiton.plugin.AbstractPlugin |
|---|
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, checkPackaging, checkResource, checkRunOnceDone, copyFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getTemplate, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, writeFile |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
getLog, setLog |
| Field Detail |
|---|
protected java.lang.String versionDescription
protected boolean dryRun
| Constructor Detail |
|---|
public NextVersionMojo()
| Method Detail |
|---|
protected boolean isGoalSkip()
isGoalSkip in class AbstractRedmineMojoprotected boolean isRunOnce()
isRunOnce in class AbstractRedmineMojoprotected boolean checkRunOnceDone()
checkRunOnceDone in class AbstractRedmineMojo
protected boolean init()
throws java.lang.Exception
init in class AbstractRedmineMojojava.lang.Exception
protected void doAction()
throws java.lang.Exception
AbstractRedmineMojo
doAction in class AbstractRedmineMojojava.lang.ExceptionAbstractPlugin.doAction()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||