@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.
alwaysCheckForReleaseVersion, analysisConfiguration, analysisConfigurationFiles, checkDependencies, disallowedExtensions, failOnMissingConfigurationFiles, failOnUnresolvedArtifacts, failOnUnresolvedDependencies, generateSiteReport, newArtifacts, newVersion, oldArtifacts, oldVersion, outputDirectory, pipelineConfiguration, reportSeverity, repositorySystem, repositorySystemSession, resolveProvidedDependencies, resolveTransitiveProvidedDependencies, skip, versionFormat| Constructor and Description |
|---|
ReportAggregateMojo() |
| Modifier and Type | Method and 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) |
endReport, getBundle, getName, getProject, niceList, prepareAnalyzer, startReportcloseReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getSink, getSinkFactory, getSiteRenderer, isExternalReportpublic String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportgetOutputName in class ReportMojopublic File getReportOutputDirectory()
getReportOutputDirectory in interface org.apache.maven.reporting.MavenReportgetReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class ReportMojopublic void setReportOutputDirectory(File reportOutputDirectory)
setReportOutputDirectory in interface org.apache.maven.reporting.MavenReportsetReportOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportpublic String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportgetDescription in class ReportMojopublic boolean canGenerateReport()
canGenerateReport in interface org.apache.maven.reporting.MavenReportcanGenerateReport 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-2019 Lukas Krejci. All Rights Reserved.