public abstract class AbstractPluginUpdatesReportMojo extends AbstractVersionsReport<PluginUpdatesModel>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
onlyProjectPlugins
If
true, only shows the subsection of the pluginManagement artifacts that
are actually used in the project's plugin graph. |
protected boolean |
onlyUpgradable
If
true, only shows upgradable plugins in the report. |
aetherRepositorySystem, allowSnapshots, comparisonMethod, i18n, ignoredVersions, rendererFactory, repositorySystem, ruleSet, session, wagonMaplocalRepository, outputDirectory, project, remoteRepositories, siteRenderer, siteTool| Constructor and Description |
|---|
AbstractPluginUpdatesReportMojo(org.codehaus.plexus.i18n.I18N i18n,
org.apache.maven.repository.RepositorySystem repositorySystem,
org.eclipse.aether.RepositorySystem aetherRepositorySystem,
Map<String,org.apache.maven.wagon.Wagon> wagonMap,
ReportRendererFactory rendererFactory) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected void |
doGenerateReport(Locale locale,
org.apache.maven.doxia.sink.Sink sink)
generates an empty report in case there are no sources to generate a report with
|
abstract String |
getOutputName() |
protected boolean |
haveBuildPluginManagementPlugins(org.apache.maven.project.MavenProject project) |
protected boolean |
haveBuildPlugins(org.apache.maven.project.MavenProject project) |
boolean |
isExternalReport() |
protected abstract void |
populatePluginManagement(Set<org.apache.maven.model.Plugin> pluginManagementCollector)
Implementations of
AbstractPluginUpdatesReportMojo may use this to supply the main processing logic
with desired pluginManagement data, which will be used in the creation of the report. |
protected abstract void |
populatePlugins(Set<org.apache.maven.model.Plugin> pluginsCollector)
Implementations of
AbstractPluginUpdatesReportMojo may use this to supply the main processing logic
with desired build plugin information, which will be used to create the report. |
executeReport, getAllowSnapshots, getComparisonMethod, getDescription, getHelper, getI18n, getName, getOutputDirectory, getProject, getSiteRenderer, getTextcloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, setReportOutputDirectory@Parameter(property="onlyProjectPlugins",
defaultValue="false")
protected boolean onlyProjectPlugins
true, only shows the subsection of the pluginManagement artifacts that
are actually used in the project's plugin graph. false by default.@Parameter(property="onlyUpgradable",
defaultValue="false")
protected boolean onlyUpgradable
true, only shows upgradable plugins in the report. false by default.public AbstractPluginUpdatesReportMojo(org.codehaus.plexus.i18n.I18N i18n,
org.apache.maven.repository.RepositorySystem repositorySystem,
org.eclipse.aether.RepositorySystem aetherRepositorySystem,
Map<String,org.apache.maven.wagon.Wagon> wagonMap,
ReportRendererFactory rendererFactory)
public boolean isExternalReport()
isExternalReport in interface org.apache.maven.reporting.MavenReportisExternalReport in class org.apache.maven.reporting.AbstractMavenReportpublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport in class org.apache.maven.reporting.AbstractMavenReportprotected boolean haveBuildPluginManagementPlugins(org.apache.maven.project.MavenProject project)
protected boolean haveBuildPlugins(org.apache.maven.project.MavenProject project)
protected void doGenerateReport(Locale locale, org.apache.maven.doxia.sink.Sink sink) throws org.apache.maven.reporting.MavenReportException
doGenerateReport in class AbstractVersionsReport<PluginUpdatesModel>locale - the locale to generate the report for.sink - the report formatting toolorg.apache.maven.reporting.MavenReportException - when things go wrong.protected abstract void populatePluginManagement(Set<org.apache.maven.model.Plugin> pluginManagementCollector)
AbstractPluginUpdatesReportMojo may use this to supply the main processing logic
with desired pluginManagement data, which will be used in the creation of the report.pluginManagementCollector, - a set initialized with a PluginComparator comparator.protected abstract void populatePlugins(Set<org.apache.maven.model.Plugin> pluginsCollector)
AbstractPluginUpdatesReportMojo may use this to supply the main processing logic
with desired build plugin information, which will be used to create the report.pluginsCollector, - a set initialized with a PluginComparator comparator.public abstract String getOutputName()
Copyright © 2008–2022 MojoHaus. All rights reserved.