@Mojo(name="aggregate",
defaultPhase=VERIFY,
aggregator=true,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresOnline=true)
public class AggregateMojo
extends BaseDependencyCheckMojo
| Constructor and Description |
|---|
AggregateMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport() |
protected Set<org.apache.maven.project.MavenProject> |
getDescendants(org.apache.maven.project.MavenProject project)
Returns a set containing all the descendant projects of the given
project.
|
String |
getDescription(Locale locale)
Gets the description of the Dependency-Check report to be displayed in
the Maven Generated Reports page.
|
String |
getName(Locale locale)
Returns the report name.
|
protected boolean |
isMultiModule(org.apache.maven.project.MavenProject mavenProject)
Test if the project has pom packaging
|
protected ExceptionCollection |
scanDependencies(Engine engine)
Scans the dependencies of the projects in aggregate.
|
checkForFailure, execute, generate, generate, getArtifactScopeExcluded, getCategoryName, getConnectionString, getCorrectOutputDirectory, getCorrectOutputDirectory, getDataFileContextKey, getFormat, getOutputDirectory, getOutputDirectoryContextKey, getOutputName, getProject, getReactorProjects, getReportOutputDirectory, getSettings, initializeEngine, isExternalReport, isFailOnError, isGeneratingSite, newResolveArtifactProjectBuildingRequest, populateSettings, runCheck, scanArtifacts, scanArtifacts, setReportOutputDirectory, showSummaryprotected ExceptionCollection scanDependencies(Engine engine) throws org.apache.maven.plugin.MojoExecutionException
scanDependencies in class BaseDependencyCheckMojoengine - the engine used to perform the scanningorg.apache.maven.plugin.MojoExecutionException - thrown if a fatal exception occursprotected Set<org.apache.maven.project.MavenProject> getDescendants(org.apache.maven.project.MavenProject project)
project - the project for which all descendants will be returnedprotected boolean isMultiModule(org.apache.maven.project.MavenProject mavenProject)
mavenProject - Project to testtrue if it has a pom packaging; otherwise
falsepublic boolean canGenerateReport()
public String getName(Locale locale)
locale - the locationCopyright © 2013–2018 OWASP. All rights reserved.