public abstract class AbstractRatMojo
extends org.apache.maven.plugin.AbstractMojo
Constructor and Description |
---|
AbstractRatMojo() |
Modifier and Type | Method and Description |
---|---|
protected ClaimStatistic |
createReport(Writer out,
InputStream style)
Writes the report to the given stream.
|
protected ReportConfiguration |
getConfiguration() |
protected IHeaderMatcher[] |
getLicenseMatchers()
Returns the set of
header matchers to use. |
protected org.apache.maven.project.MavenProject |
getProject() |
protected IReportable |
getResources()
Creates an iterator over the files to check.
|
getLog, getPluginContext, setLog, setPluginContext
protected org.apache.maven.project.MavenProject getProject()
protected IHeaderMatcher[] getLicenseMatchers() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
header matchers
to use.org.apache.maven.plugin.MojoFailureException
- An error in the plugin configuration was detected.org.apache.maven.plugin.MojoExecutionException
- An error occurred while calculating the result.protected IReportable getResources()
protected ClaimStatistic createReport(Writer out, InputStream style) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
out
- The target writer, to which the report is being written.style
- The stylesheet to use, or null
for raw XMLorg.apache.maven.plugin.MojoFailureException
- An error in the plugin configuration was detected.org.apache.maven.plugin.MojoExecutionException
- Another error occurred while creating the report.protected ReportConfiguration getConfiguration() throws org.apache.maven.plugin.MojoFailureException, org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
Copyright © 2006–2016 Apache Software Foundation. All rights reserved.