Package org.codehaus.mojo.license
Class ThirdPartyReportMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.reporting.AbstractMavenReport
org.codehaus.mojo.license.AbstractThirdPartyReportMojo
org.codehaus.mojo.license.ThirdPartyReportMojo
- 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="third-party-report",
requiresDependencyResolution=TEST)
public class ThirdPartyReportMojo
extends AbstractThirdPartyReportMojo
Generates a report of all third-parties detected in the module.
- Since:
- 1.1
- Author:
- tchemit dev@tchemit.fr
-
Field Summary
Fields inherited from class org.codehaus.mojo.license.AbstractThirdPartyReportMojo
licenseMergesUrl
Fields inherited from class org.apache.maven.reporting.AbstractMavenReport
localRepository, outputDirectory, project, remoteRepositories, siteRenderer, 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
Methods inherited from class org.codehaus.mojo.license.AbstractThirdPartyReportMojo
executeReport, getArtifactFilters, getArtifactFiltersUrl, getDescription, getEncoding, getName, init, isExcludeTransitiveDependencies, isIncludeTransitiveDependencies, isVerbose
Methods inherited from class org.apache.maven.reporting.AbstractMavenReport
closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputDirectory, getOutputEncoding, getProject, getReportOutputDirectory, getSink, getSinkFactory, getSiteRenderer, isExternalReport, setReportOutputDirectory
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ThirdPartyReportMojo
public ThirdPartyReportMojo()
-
-
Method Details
-
getOutputName
-
canGenerateReport
public boolean canGenerateReport()- Specified by:
canGenerateReport
in interfaceorg.apache.maven.reporting.MavenReport
- Overrides:
canGenerateReport
in 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:
createThirdPartyDetails
in classAbstractThirdPartyReportMojo
- Throws:
IOException
ThirdPartyToolException
org.apache.maven.project.ProjectBuildingException
org.apache.maven.plugin.MojoFailureException
DependenciesToolException
org.apache.maven.plugin.MojoExecutionException
-