mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-02-20 01:17:59 +01:00
checkstyle updates
This commit is contained in:
@@ -968,7 +968,7 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
* @param currentEx the primary exception collection
|
||||
* @param newEx the new exception collection to add
|
||||
* @return the combined exception collection
|
||||
* @throws MojoExecutionException
|
||||
* @throws MojoExecutionException thrown if dependency-check is configured to fail on errors
|
||||
*/
|
||||
private ExceptionCollection handleAnalysisExceptions(ExceptionCollection currentEx, ExceptionCollection newEx) throws MojoExecutionException {
|
||||
ExceptionCollection returnEx = currentEx;
|
||||
@@ -1365,8 +1365,8 @@ public abstract class BaseDependencyCheckMojo extends AbstractMojo implements Ma
|
||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities: %n%s%n%n"
|
||||
+ "See the dependency-check report for more details.%n%n", ids.toString());
|
||||
} else {
|
||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal to '%.1f': "
|
||||
+ "%n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
|
||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities that have a CVSS score greater than or equal "
|
||||
+ "to '%.1f': %n%s%n%nSee the dependency-check report for more details.%n%n", failBuildOnCVSS, ids.toString());
|
||||
}
|
||||
} else {
|
||||
msg = String.format("%n%nOne or more dependencies were identified with vulnerabilities.%n%n"
|
||||
|
||||
Reference in New Issue
Block a user