mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-14 06:06:04 +01:00
@@ -263,6 +263,7 @@ public class AggregateMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale the location
|
||||
* @return the report name
|
||||
*/
|
||||
@Override
|
||||
public String getName(Locale locale) {
|
||||
return "dependency-check:aggregate";
|
||||
}
|
||||
@@ -273,6 +274,7 @@ public class AggregateMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale The Locale to get the description for
|
||||
* @return the description
|
||||
*/
|
||||
@Override
|
||||
public String getDescription(Locale locale) {
|
||||
return "Generates an aggregate report of all child Maven projects providing details on any "
|
||||
+ "published vulnerabilities within project dependencies. This report is a best "
|
||||
|
||||
@@ -352,6 +352,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
* @throws MavenReportException if a maven report exception occurs
|
||||
* @deprecated use {@link #generate(org.apache.maven.doxia.sink.Sink, java.util.Locale)} instead.
|
||||
*/
|
||||
@Override
|
||||
@Deprecated
|
||||
public final void generate(@SuppressWarnings("deprecation") org.codehaus.doxia.sink.Sink sink, Locale locale) throws MavenReportException {
|
||||
generate((Sink) sink, locale);
|
||||
@@ -519,6 +520,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
*
|
||||
* @return the output name
|
||||
*/
|
||||
@Override
|
||||
public String getOutputName() {
|
||||
if ("HTML".equalsIgnoreCase(this.format) || "ALL".equalsIgnoreCase(this.format)) {
|
||||
return "dependency-check-report";
|
||||
@@ -537,6 +539,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
*
|
||||
* @return the category name
|
||||
*/
|
||||
@Override
|
||||
public String getCategoryName() {
|
||||
return MavenReport.CATEGORY_PROJECT_REPORTS;
|
||||
}
|
||||
|
||||
@@ -95,6 +95,7 @@ public class CheckMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale the location
|
||||
* @return the report name
|
||||
*/
|
||||
@Override
|
||||
public String getName(Locale locale) {
|
||||
return "dependency-check";
|
||||
}
|
||||
@@ -105,6 +106,7 @@ public class CheckMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale The Locale to get the description for
|
||||
* @return the description
|
||||
*/
|
||||
@Override
|
||||
public String getDescription(Locale locale) {
|
||||
return "Generates a report providing details on any published vulnerabilities within project dependencies. "
|
||||
+ "This report is a best effort and may contain false positives and false negatives.";
|
||||
|
||||
@@ -89,6 +89,7 @@ public class PurgeMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale the location
|
||||
* @return the report name
|
||||
*/
|
||||
@Override
|
||||
public String getName(Locale locale) {
|
||||
return "dependency-check-purge";
|
||||
}
|
||||
@@ -99,6 +100,7 @@ public class PurgeMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale The Locale to get the description for
|
||||
* @return the description
|
||||
*/
|
||||
@Override
|
||||
public String getDescription(Locale locale) {
|
||||
return "Purges the local cache of the NVD dataT.";
|
||||
}
|
||||
|
||||
@@ -78,6 +78,7 @@ public class UpdateMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale the location
|
||||
* @return the report name
|
||||
*/
|
||||
@Override
|
||||
public String getName(Locale locale) {
|
||||
return "dependency-check-update";
|
||||
}
|
||||
@@ -88,6 +89,7 @@ public class UpdateMojo extends BaseDependencyCheckMojo {
|
||||
* @param locale The Locale to get the description for
|
||||
* @return the description
|
||||
*/
|
||||
@Override
|
||||
public String getDescription(Locale locale) {
|
||||
return "Updates the local cache of the NVD data from NIST.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user