public abstract class AbstractThirdPartyReportMojo extends org.apache.maven.reporting.AbstractMavenReport implements MavenProjectDependenciesConfigurator
| Constructor and Description |
|---|
AbstractThirdPartyReportMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Collection<ThirdPartyDetails> |
createThirdPartyDetails() |
protected void |
executeReport(Locale locale) |
String |
getDescription(Locale locale) |
String |
getExcludedArtifacts() |
String |
getExcludedGroups() |
List<String> |
getExcludedScopes() |
String |
getIncludedArtifacts() |
String |
getIncludedGroups() |
List<String> |
getIncludedScopes() |
String |
getName(Locale locale) |
protected String |
getOutputDirectory() |
protected org.apache.maven.project.MavenProject |
getProject() |
protected org.apache.maven.doxia.siterenderer.Renderer |
getSiteRenderer() |
boolean |
isExcludeTransitiveDependencies() |
boolean |
isIncludeTransitiveDependencies() |
boolean |
isVerbose() |
canGenerateReport, closeReport, execute, generate, generate, generate, getCategoryName, getInputEncoding, getOutputEncoding, getReportOutputDirectory, getSink, getSinkFactory, isExternalReport, setReportOutputDirectorygetLog, getPluginContext, setLog, setPluginContextprotected abstract Collection<ThirdPartyDetails> createThirdPartyDetails() throws IOException, ThirdPartyToolException, org.apache.maven.project.ProjectBuildingException, org.apache.maven.plugin.MojoFailureException, org.apache.maven.project.artifact.InvalidDependencyVersionException, org.apache.maven.artifact.resolver.ArtifactNotFoundException, org.apache.maven.artifact.resolver.ArtifactResolutionException, DependenciesToolException
IOExceptionThirdPartyToolExceptionorg.apache.maven.project.ProjectBuildingExceptionorg.apache.maven.plugin.MojoFailureExceptionorg.apache.maven.project.artifact.InvalidDependencyVersionExceptionorg.apache.maven.artifact.resolver.ArtifactNotFoundExceptionorg.apache.maven.artifact.resolver.ArtifactResolutionExceptionDependenciesToolExceptionprotected void executeReport(Locale locale) throws org.apache.maven.reporting.MavenReportException
executeReport in class org.apache.maven.reporting.AbstractMavenReportorg.apache.maven.reporting.MavenReportExceptionprotected org.apache.maven.project.MavenProject getProject()
getProject in class org.apache.maven.reporting.AbstractMavenReportprotected String getOutputDirectory()
getOutputDirectory in class org.apache.maven.reporting.AbstractMavenReportprotected org.apache.maven.doxia.siterenderer.Renderer getSiteRenderer()
getSiteRenderer in class org.apache.maven.reporting.AbstractMavenReportpublic String getDescription(Locale locale)
getDescription in interface org.apache.maven.reporting.MavenReportpublic String getName(Locale locale)
getName in interface org.apache.maven.reporting.MavenReportpublic 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.public boolean isExcludeTransitiveDependencies()
isExcludeTransitiveDependencies in interface MavenProjectDependenciesConfiguratortrue if should exclude transitive dependencies from excluded artifacts, else false.public boolean isVerbose()
isVerbose in interface MavenProjectDependenciesConfiguratortrue if verbose mode is on, false otherwise.Copyright © 2010–2023. All rights reserved.