Package org.codehaus.mojo.license
Class AggregatorThirdPartyReport
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.license.AbstractThirdPartyReport
org.codehaus.mojo.license.AggregatorThirdPartyReport
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo,org.apache.maven.reporting.MavenMultiPageReport,org.apache.maven.reporting.MavenReport,MavenProjectDependenciesConfigurator
@Mojo(name="aggregate-third-party-report",
aggregator=true,
requiresDependencyResolution=TEST)
public class AggregatorThirdPartyReport
extends AbstractThirdPartyReport
Generates a report of all third-parties detected in the module.
Created on 22/05/16.
- Since:
- 1.10
- Author:
- Tony Chemit - dev@tchemit.fr
-
Field Summary
Fields inherited from class org.codehaus.mojo.license.AbstractThirdPartyReport
licenseMergesUrlFields inherited from class org.apache.maven.reporting.AbstractMavenReport
locale, mojoExecution, outputDirectory, outputFormat, outputTimestamp, project, reactorProjects, remoteProjectRepositories, repoSession, siteDirectory, siteRenderer, siteToolFields inherited from interface org.apache.maven.reporting.MavenReport
CATEGORY_PROJECT_INFORMATION, CATEGORY_PROJECT_REPORTS, ROLEFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
ConstructorsConstructorDescriptionAggregatorThirdPartyReport(org.codehaus.plexus.i18n.I18N i18n, DependenciesTool dependenciesTool, ThirdPartyTool thirdPartyTool) -
Method Summary
Methods inherited from class org.codehaus.mojo.license.AbstractThirdPartyReport
executeReport, getArtifactFilters, getArtifactFiltersUrl, getDescription, getEncoding, getName, init, isExcludeTransitiveDependencies, isIncludeTransitiveDependencies, isVerboseMethods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, constructXrefLocation, execute, generate, generate, getCategoryName, getInputEncoding, getLocale, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, getXrefLocation, isExternalReport, setReportOutputDirectoryMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.maven.reporting.MavenReport
getOutputPath
-
Constructor Details
-
AggregatorThirdPartyReport
@Inject public AggregatorThirdPartyReport(org.codehaus.plexus.i18n.I18N i18n, DependenciesTool dependenciesTool, ThirdPartyTool thirdPartyTool)
-
-
Method Details
-
getOutputName
Deprecated. -
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReportin interfaceorg.apache.maven.reporting.MavenReport- Overrides:
canGenerateReportin classorg.apache.maven.reporting.AbstractMavenReport
-
createThirdPartyDetails
protected Collection<ThirdPartyDetails> createThirdPartyDetails() throws IOException, ThirdPartyToolException, org.apache.maven.project.ProjectBuildingException, org.apache.maven.plugin.MojoFailureException, DependenciesToolException, org.apache.maven.plugin.MojoExecutionException- Specified by:
createThirdPartyDetailsin classAbstractThirdPartyReport- Throws:
IOExceptionThirdPartyToolExceptionorg.apache.maven.project.ProjectBuildingExceptionorg.apache.maven.plugin.MojoFailureExceptionDependenciesToolExceptionorg.apache.maven.plugin.MojoExecutionException
-