@Mojo(name="plugin-updates-report",
requiresDependencyResolution=RUNTIME,
threadSafe=true)
public class PluginUpdatesReportMojo
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. |
allowSnapshots, artifactMetadataSource, artifactResolver, comparisonMethod, i18n, ignoredVersions, remoteArtifactRepositories, remotePluginRepositories, rendererFactory, repositorySystem, ruleSet, sessionlocalRepository, outputDirectory, project, remoteRepositories, siteRenderer, siteTool| Modifier | Constructor and Description |
|---|---|
protected |
PluginUpdatesReportMojo(org.codehaus.plexus.i18n.I18N i18n,
org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
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
|
String |
getOutputName() |
boolean |
isExternalReport() |
executeReport, findLatestVersion, 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.@Inject
protected PluginUpdatesReportMojo(org.codehaus.plexus.i18n.I18N i18n,
org.apache.maven.repository.RepositorySystem repositorySystem,
org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver,
org.apache.maven.artifact.metadata.ArtifactMetadataSource artifactMetadataSource,
org.apache.maven.artifact.manager.WagonManager wagonManager,
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 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.public String getOutputName()
Copyright © 2008–2022 MojoHaus. All rights reserved.