org.apache.maven.plugin.changes
Class ChangesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.reporting.AbstractMavenReport
          extended by org.apache.maven.plugin.changes.AbstractChangesReport
              extended by org.apache.maven.plugin.changes.ChangesMojo
All Implemented Interfaces:
ContextEnabled, Mojo, MavenMultiPageReport, MavenReport

@Mojo(name="changes-report",
      threadSafe=true)
public class ChangesMojo
extends AbstractChangesReport

Goal which creates a nicely formatted Changes Report in html format from a changes.xml file.

Version:
$Id: ChangesMojo.java 1620217 2014-08-24 22:25:23Z hboutemy $
Author:
Johnny R. Ruiz III

Field Summary
protected  MavenSession session
           
 
Fields inherited from class org.apache.maven.plugin.changes.AbstractChangesReport
basedir, factory, i18n, localRepository, mavenSession, project, resolver, runOnlyAtExecutionRoot, siteRenderer
 
Fields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ChangesMojo()
           
 
Method Summary
 boolean canGenerateReport()
           
 void executeReport(Locale locale)
           
 String getDescription(Locale locale)
           
 String getName(Locale locale)
           
 String getOutputName()
           
protected  String getTeamlist()
           
 
Methods inherited from class org.apache.maven.plugin.changes.AbstractChangesReport
execute, getOutputDirectory, getOutputEncoding, getProject, getSiteRenderer, isThisTheExecutionRoot
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, generate, generate, generate, getCategoryName, getInputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectory
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

@Parameter(defaultValue="${session}",
           readonly=true,
           required=true)
protected MavenSession session
Since:
2.2
Constructor Detail

ChangesMojo

public ChangesMojo()
Method Detail

canGenerateReport

public boolean canGenerateReport()
Specified by:
canGenerateReport in interface MavenReport
Overrides:
canGenerateReport in class AbstractMavenReport

executeReport

public void executeReport(Locale locale)
                   throws MavenReportException
Specified by:
executeReport in class AbstractMavenReport
Throws:
MavenReportException

getDescription

public String getDescription(Locale locale)

getName

public String getName(Locale locale)

getOutputName

public String getOutputName()

getTeamlist

protected String getTeamlist()


Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.