@Mojo(name="generate-email-announcement",
requiresOnline=true,
requiresProject=true)
public class GenerateEmailAnnouncementMojo
extends AbstractAnnouncementMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
emailAnnouncementTemplate
The Velocity template used to format the release email announcement.
|
protected boolean |
skipGenerateEmailAnnouncement
A flag to enable or disable the goal.
|
announceParameters, anonymous, artifactId, artifactsFile, artifactUrls, attachmentLinkTemplate, attachments, attachmentUrls, basedir, deploymentUrl, developmentTeam, finalName, generator, groupId, introduction, packaging, projectUrl, releases, runOnce, templateDirectory, templateEncoding, templateOutputDirectory, urlDownload, velocity, xmlPathreleaseVersion, versionIdprojectId, releaseProject, releaseUser, usersdateFormat, encoding, initOk, password, project, REDMINE_SYSTEM, runOnceDone, safe, service, serviceInit, session, url, username, verbose| Constructor and Description |
|---|
GenerateEmailAnnouncementMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAnnouncementTemplate() |
protected boolean |
isGoalSkip() |
checkRunOnceDone, doAction, getAnnounceParameters, getArtifactId, getArtifactUrls, getAttachmentLinkTemplate, getAttachmentUrls, getBasedir, getDeploymentUrl, getDevelopmentTeam, getFinalName, getGroupId, getIntroduction, getOutputFile, getPackaging, getProjectUrl, getUrl, getUrlDownload, init, isAnonymous, isRunOnce, setAnonymouscheckSkip, getVersionId, initReleaseVersion, setVersionIdgetProjectId, initReleaseProject, initReleaseUser, setProjectIdafterExecute, closeService, getApiKey, getEncoding, getProject, getRestPassword, getRestUrl, getRestUsername, isRunOnceDone, isSafe, isVerbose, setApiKey, setEncoding, setProject, setRestPassword, setRestUrl, setRestUsername, setSafe, setVerboseacceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLog, getProject, getVersionId@Parameter(property="redmine.emailAnnouncementTemplate",
defaultValue="release-email-announcement.vm",
required=true)
protected String emailAnnouncementTemplate
@Parameter(property="changes.skipGenerateEmailAnnouncement",
defaultValue="false")
protected boolean skipGenerateEmailAnnouncement
protected String getAnnouncementTemplate()
getAnnouncementTemplate in class AbstractAnnouncementMojoprotected boolean isGoalSkip()
isGoalSkip in class AbstractRedmineMojoCopyright © 2009-2012 CodeLutin. All Rights Reserved.