@Mojo(name="report-aggregate",
aggregator=true,
defaultPhase=SITE)
@Execute(phase=PACKAGE)
public class ReportAggregateMojo
extends ReportMojo
The artifacts to compare are taken from the configurations of the child projects while the configuration of Revapi
and the extensions to use are taken from the aggregator project. The analyses are run in succession using a single
instance of Revapi. Therefore you need to configure your custom Revapi reporter(s) to somehow not overwrite their
reports, but append to it. The default site page generator can do this and the revapi-reporter-text reporter
has an append boolean parameter for this. If you're using some other reporter, consult its documentation on
how to append to a report instead of overwriting it.
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEalwaysCheckForReleaseVersion, analysisConfiguration, analysisConfigurationFiles, checkDependencies, disallowedExtensions, failOnMissingConfigurationFiles, failOnUnresolvedArtifacts, failOnUnresolvedDependencies, generateSiteReport, newArtifacts, newVersion, oldArtifacts, oldVersion, outputDirectory, reportSeverity, repositorySystem, repositorySystemSession, resolveProvidedDependencies, skip, versionFormat| Constructor | Description |
|---|---|
ReportAggregateMojo() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canGenerateReport() |
|
protected void |
executeReport(Locale locale) |
|
protected static org.apache.maven.model.Plugin |
findRevapi(org.apache.maven.project.MavenProject project) |
|
protected static String[] |
getArtifacts(org.codehaus.plexus.util.xml.Xpp3Dom config,
String artifactTag) |
|
String |
getDescription(Locale locale) |
|
protected String |
getOutputDirectory() |
|
String |
getOutputName() |
|
File |
getReportOutputDirectory() |
|
protected void |
reportBody(ReportTimeReporter reporterWithResults,
org.revapi.API oldAPI,
org.revapi.API newAPI,
org.apache.maven.doxia.sink.Sink sink,
ResourceBundle messages) |
|
void |
setReportOutputDirectory(File reportOutputDirectory) |
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getSink, getSinkFactory, getSiteRenderer, isExternalReportgetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendReport, getBundle, getName, getProject, niceList, prepareAnalyzer, startReportpublic String getOutputName()
getOutputName in class ReportMojopublic File getReportOutputDirectory()
getReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class ReportMojopublic void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportpublic String getDescription(Locale locale)
getDescription in class ReportMojopublic boolean canGenerateReport()
canGenerateReport in class ReportMojoprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class ReportMojoorg.apache.maven.reporting.MavenReportExceptionprotected void reportBody(ReportTimeReporter reporterWithResults, org.revapi.API oldAPI, org.revapi.API newAPI, org.apache.maven.doxia.sink.Sink sink, ResourceBundle messages)
reportBody in class ReportMojoprotected static org.apache.maven.model.Plugin findRevapi(org.apache.maven.project.MavenProject project)
Copyright © 2014-2018 Lukas Krejci. All Rights Reserved.