@Mojo(name="third-party-report",
requiresProject=true,
requiresDependencyResolution=RUNTIME)
public class ThirdPartyReportMojo
extends AbstractLicenseReportMojo
implements MavenProjectDependenciesConfigurator
| Constructor and Description |
|---|
ThirdPartyReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGenerateReport(Locale locale,
org.apache.maven.doxia.sink.Sink sink)
Generates the report.
|
String |
getExcludedArtifacts() |
String |
getExcludedGroups() |
List<String> |
getExcludedScopes() |
String |
getIncludedArtifacts() |
String |
getIncludedGroups() |
List<String> |
getIncludedScopes() |
String |
getOutputName() |
boolean |
isIncludeTransitiveDependencies() |
boolean |
isSkip()
When is sets to
true, will skip execution. |
executeReport, getDescription, getEncoding, getHelper, getI18n, getName, getOutputDirectory, getProject, getSiteRenderer, getText, isVerbosecanGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisVerbosepublic String getOutputName()
getOutputName in interface org.apache.maven.reporting.MavenReportpublic boolean isSkip()
true, will skip execution.
This will take effect in at the very begin of the AbstractMavenReport.execute()
before any initialisation of goal.isSkip in class AbstractLicenseReportMojotrue if goal will not be executedprotected void doGenerateReport(Locale locale, org.apache.maven.doxia.sink.Sink sink) throws org.apache.maven.reporting.MavenReportException, org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
doGenerateReport in class AbstractLicenseReportMojolocale - the locale to generate the report for.sink - the report formatting tool.org.apache.maven.reporting.MavenReportException - when things go wrong.org.apache.maven.plugin.MojoExecutionException - when things go wrong.org.apache.maven.plugin.MojoFailureException - when things go wrong.public List<String> getExcludedScopes()
getExcludedScopes in interface MavenProjectDependenciesConfiguratornull is setted, then include all scopes.public List<String> getIncludedScopes()
getIncludedScopes in interface MavenProjectDependenciesConfiguratornull is setted, then include all scopes.public String getExcludedGroups()
getExcludedGroups in interface MavenProjectDependenciesConfiguratorartifactId, if null is setted the no exclude is
done on artifactId.public String getIncludedGroups()
getIncludedGroups in interface MavenProjectDependenciesConfiguratorgroupId, if null is setted then include
all artifacts.public String getExcludedArtifacts()
getExcludedArtifacts in interface MavenProjectDependenciesConfiguratorgroupId, if null is setted then no exclude
is done on groupId.public String getIncludedArtifacts()
getIncludedArtifacts in interface MavenProjectDependenciesConfiguratorartificatId, if null is setted then include
all artifacts.public boolean isIncludeTransitiveDependencies()
isIncludeTransitiveDependencies in interface MavenProjectDependenciesConfiguratortrue if should include transitive dependencies, false to include only direct
dependencies.Copyright © 2010–2014 Codehaus. All rights reserved.