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

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 1328886 2012-04-22 14:09:45Z bimargulies $
Author:
Johnny R. Ruiz III
Is defined by the goal name:
changes-report

Field Summary
protected  MavenSession session
           
 
Fields inherited from class org.apache.maven.plugin.changes.AbstractChangesReport
factory, i18n, localRepository, project, resolver, 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
 
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, generate, generate, generate, getCategoryName, 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

protected MavenSession session
Since:
2.2
Is defined by:
expression:
${session}
Is readonly.
Is required.
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-2012 The Apache Software Foundation. All Rights Reserved.