@Mojo(name="license") public class LicenseReport extends AbstractProjectInfoReport
customBundle, factory, localRepository, mavenProjectBuilder, outputDirectory, project, remoteRepositories, resolver, settings, siteRenderer, siteTool, skipEmptyReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLE
Constructor and Description |
---|
LicenseReport() |
Modifier and Type | Method and Description |
---|---|
boolean |
canGenerateReport() |
void |
executeReport(Locale locale) |
protected String |
getI18Nsection() |
protected static URL |
getLicenseURL(org.apache.maven.project.MavenProject project,
String url) |
String |
getOutputName() |
execute, getCategoryName, getDescription, getI18N, getI18nString, getName, getOutputDirectory, getPlugin, getPluginParameter, getProject, getReportOutputDirectory, getSiteRenderer, isEmpty, setReportOutputDirectory
closeReport, generate, generate, generate, getInputEncoding, getOutputEncoding, getSink, getSinkFactory, isExternalReport
getLog, getPluginContext, setLog, setPluginContext
public boolean canGenerateReport()
canGenerateReport
in interface MavenReport
canGenerateReport
in class AbstractProjectInfoReport
public void executeReport(Locale locale)
executeReport
in class AbstractMavenReport
public String getOutputName()
protected String getI18Nsection()
getI18Nsection
in class AbstractProjectInfoReport
protected static URL getLicenseURL(org.apache.maven.project.MavenProject project, String url) throws IOException
project
- not nullurl
- not nullIOException
- if anyCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.