@Mojo(name="generate-news-announcement",
requiresOnline=true,
requiresProject=true)
public class GenerateNewsAnnouncementMojo
extends AbstractAnnouncementMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
newsAnnouncementTemplate
The Velocity template used to format the redmine announcement.
|
protected boolean |
skipGenerateNewsAnnouncement
A flag to skip the goal.
|
announceParameters, artifactId, artifactsFile, artifactUrls, attachmentLinkTemplate, attachments, attachmentUrls, basedir, deploymentUrl, developmentTeam, finalName, generator, groupId, introduction, packaging, projectUrl, releases, runOnce, runOnceDone, runOnlyOnRoot, templateDirectory, templateEncoding, templateOutputDirectory, urlDownload, velocity, xmlPathreleaseVersion, versionIdprojectId, releaseProject, releaseUser, usersapiKey, dateFormat, encoding, initOk, password, project, REDMINE_SYSTEM, safe, service, serviceInit, session, url, username, verbose| Constructor and Description |
|---|
GenerateNewsAnnouncementMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAnnouncementTemplate() |
String |
getSkipProperty() |
boolean |
isGoalSkip() |
checkRunOnceDone, doAction, getAnnounceParameters, getArtifactId, getArtifactUrls, getAttachmentLinkTemplate, getAttachmentUrls, getBasedir, getDeploymentUrl, getDevelopmentTeam, getFinalName, getGroupId, getIntroduction, getOutputFile, getPackaging, getProjectUrl, getUrlDownload, init, isRunOnce, isRunOnceDone, isRunOnlyOnRootcheckSkip, getProjectVersion, getProjectVersions, getVersionId, initReleaseVersion, setVersionIdgetProjectId, initReleaseProject, initReleaseUser, setProjectIdafterExecute, closeService, failIfSafe, getAuthConfiguration, getEncoding, getProject, getUrl, isVerbose, setApiKey, setAuthConfiguration, setEncoding, setPassword, setProject, setUrl, setUsername, 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, needInvoke, needInvoke, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFilegetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLog, getProject, getUrl, getVersionId@Parameter(property="redmine.newsAnnouncementTemplate",
defaultValue="release-news-announcement.vm",
required=true)
protected String newsAnnouncementTemplate
@Parameter(property="redmine.skipGenerateNewsAnnouncement",
defaultValue="false")
protected boolean skipGenerateNewsAnnouncement
protected String getAnnouncementTemplate()
getAnnouncementTemplate in class AbstractAnnouncementMojopublic String getSkipProperty()
public boolean isGoalSkip()
Copyright © 2009–2016 CodeLutin. All rights reserved.