Class StatusCommandReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.mybatis.maven.mvnmigrate.report.StatusCommandReportMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
,org.apache.maven.reporting.MavenMultiPageReport
,org.apache.maven.reporting.MavenReport
@Mojo(name="status-report")
public final class StatusCommandReportMojo
extends org.apache.maven.reporting.AbstractMavenReport
Extends
Class to generate a Maven report.
AbstractMavenReport
. Class to generate a Maven report.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Aggregate report results.protected String
Environment to configure.protected boolean
Forces script to continue even if SQL errors are encountered.protected List
<org.apache.maven.project.MavenProject> The projects in the reactor for aggregation report.protected File
Location of migrate repository.protected boolean
Skip migration actions.Fields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputFormat, outputTimestamp, remoteProjectRepositories, repoSession, siteDirectory, siteTool
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeReport
(Locale locale) protected ResourceBundle
Return theResourceBundle
given the current locale.getDescription
(Locale locale) Return the description of the report.Return the name of the report.protected String
Return the output name of the report.protected org.apache.maven.project.MavenProject
protected org.apache.maven.doxia.siterenderer.Renderer
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
canGenerateReport, closeReport, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputEncoding, 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
Methods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Field Details
-
reactorProjects
@Parameter(property="reactorProjects", readonly=true) protected List<org.apache.maven.project.MavenProject> reactorProjectsThe projects in the reactor for aggregation report. -
repository
Location of migrate repository. -
environment
Environment to configure. Default environment is 'development'. -
force
@Parameter(property="migration.force", defaultValue="false") protected boolean forceForces script to continue even if SQL errors are encountered. -
skip
@Parameter(property="migration.skip", defaultValue="false") protected boolean skipSkip migration actions. -
aggregate
@Parameter(property="migration.aggregate", defaultValue="false") protected boolean aggregateAggregate report results.
-
-
Constructor Details
-
StatusCommandReportMojo
public StatusCommandReportMojo()
-
-
Method Details
-
executeReport
- Specified by:
executeReport
in classorg.apache.maven.reporting.AbstractMavenReport
- Throws:
org.apache.maven.reporting.MavenReportException
-
getOutputDirectory
- Overrides:
getOutputDirectory
in classorg.apache.maven.reporting.AbstractMavenReport
-
getProject
protected org.apache.maven.project.MavenProject getProject()- Overrides:
getProject
in classorg.apache.maven.reporting.AbstractMavenReport
-
getSiteRenderer
protected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()- Overrides:
getSiteRenderer
in classorg.apache.maven.reporting.AbstractMavenReport
-
getOutputName
-
getName
-
getDescription
-
getBundle
Return theResourceBundle
given the current locale.- Parameters:
locale
- the current locale.
-