@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.
|
java.lang.String |
getDescription(java.util.Locale locale)
Gets the description of the Dependency-Check report to be displayed in
the Maven Generated Reports page.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the report name.
|
protected ExceptionCollection |
scanDependencies(Engine engine)
Scans the dependencies of the project.
|
protected ExceptionCollection |
scanPlugins(Engine engine,
ExceptionCollection exCollection)
Scans the plugins of the project.
|
checkForFailure, createProjectReferenceName, execute, generate, generate, getArtifactScopeExcluded, getCategoryName, getConnectionString, getCorrectOutputDirectory, getCorrectOutputDirectory, getExcludes, getOutputDirectory, getOutputName, getProject, getReactorProjects, getReportOutputDirectory, getSettings, initializeEngine, isExternalReport, isFailOnError, isGeneratingSite, newResolveArtifactProjectBuildingRequest, populateSettings, resolveArtifactDependencies, runCheck, scanArtifacts, scanArtifacts, scanPlugins, setReportOutputDirectory, showSummarypublic boolean canGenerateReport()
true if the report can be generated; otherwise
falsepublic java.lang.String getName(java.util.Locale locale)
locale - the locationpublic java.lang.String getDescription(java.util.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 occursprotected ExceptionCollection scanPlugins(Engine engine, ExceptionCollection exCollection) throws org.apache.maven.plugin.MojoExecutionException
scanPlugins in class BaseDependencyCheckMojoengine - the engine used to perform the scanningexCollection - the collection of exceptions that might have occurred
previouslyorg.apache.maven.plugin.MojoExecutionException - thrown if a fatal exception occursCopyright© 2012-21 Jeremy Long. All Rights Reserved.