@Mojo(name="check",
defaultPhase=VERIFY,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
requiresOnline=true)
public class CheckMojo
extends BaseDependencyCheckMojo
| Constructor and Description |
|---|
CheckMojo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canGenerateReport()
Returns whether or not a the report can be generated.
|
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 ExceptionCollection |
scanDependencies(Engine engine)
Scans the dependencies of the project.
|
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, showSummarypublic boolean canGenerateReport()
true if the report can be generated; otherwise
falsepublic String getName(Locale locale)
locale - the locationpublic String getDescription(Locale locale)
locale - The Locale to get the description forprotected 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 occursCopyright © 2013–2018 OWASP. All rights reserved.