Class PluginUpdatesXmlReportRenderer

java.lang.Object
org.codehaus.mojo.versions.xml.PluginUpdatesXmlReportRenderer
All Implemented Interfaces:
org.apache.maven.reporting.MavenReportRenderer, ReportRenderer

public class PluginUpdatesXmlReportRenderer extends Object implements ReportRenderer
XML renderer for DependencyUpdatesReport creates an xml file in target directory and writes report about available dependency/dependency management updates.
Since:
2.4
Author:
Illia Dubinin
  • Constructor Details

    • PluginUpdatesXmlReportRenderer

      public PluginUpdatesXmlReportRenderer(PluginUpdatesModel model, Path outputFile, boolean allowSnapshots)
      Creates a new instance
      Parameters:
      model - object containing the updates model
      outputFile - output file for the report
  • Method Details

    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface org.apache.maven.reporting.MavenReportRenderer
    • isAllowSnapshots

      public boolean isAllowSnapshots()
      Description copied from interface: ReportRenderer
      If true, the report renderer will include snapshots in the report
      Specified by:
      isAllowSnapshots in interface ReportRenderer
      Returns:
      if true, the report renderer will include snapshots in the report
    • render

      public void render()
      Creates an XML report
      Specified by:
      render in interface org.apache.maven.reporting.MavenReportRenderer